dev/flash: make sure the write is complete
It happened that sdbfs_open_id returned error after 2 consecutive adds to
the SFP database using storage_get_sfp function (behaviour not seen when using
shell commands).
It looks like the problem was that reads were started before writes were
finished.
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment