Joakim Tjernlund 08cf1a5e69 fw_setenv: Unbreak fw_setenv caused by buggy MEMISLOCKED use
Commit "fw_setenv: lock the flash only if it was locked before"
checks for Locked status with uninitialized erase data.
Address by moving the test for MEMISLOCKED.

Fixes: 8a726b852502 ("fw_setenv: lock the flash only if it was locked before")
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
2021-12-20 09:21:48 -05:00
..
2021-09-25 09:46:15 -06:00
2019-07-29 00:20:31 +02:00
2021-01-13 02:38:00 +01:00
2021-11-11 19:01:56 -05:00
2019-11-04 18:15:32 -07:00