diff options
author | Joakim Tjernlund | 2021-12-08 15:33:11 +0100 |
---|---|---|
committer | Tom Rini | 2021-12-20 09:21:48 -0500 |
commit | 08cf1a5e6995697bcf2405ae50826634bc43d78a (patch) | |
tree | fa2b1ba3c24d2d099ddf517b1a3b8ca4b47a0b65 /disk/part_dos.c | |
parent | 1cd75ceae563f87aba9f16a83544c228b811bc97 (diff) |
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>
Diffstat (limited to 'disk/part_dos.c')
0 files changed, 0 insertions, 0 deletions