diff options
Diffstat (limited to 'env')
| -rw-r--r-- | env/fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/fat.c b/env/fat.c index 412d95dc305..58c279ff769 100644 --- a/env/fat.c +++ b/env/fat.c @@ -131,7 +131,7 @@ static int env_fat_load(void) #endif #ifndef CONFIG_XPL_BUILD #if defined(CONFIG_AHCI) || defined(CONFIG_SCSI) - if (!strcmp(CONFIG_ENV_FAT_INTERFACE, "scsi")) + if (!strcmp(ifname, "scsi")) scsi_scan(true); #endif #if defined(CONFIG_VIRTIO) |
