env: fat: Standardize the interface type check
authorFabio Estevam <festevam@gmail.com>
Tue, 12 Aug 2025 17:46:12 +0000 (14:46 -0300)
committerTom Rini <trini@konsulko.com>
Wed, 20 Aug 2025 21:05:31 +0000 (15:05 -0600)
commit82444e3ecd0ea8404ed6fd1dd3710bfd8d641f52
tree739606e5d1e0466d9747a29b4c2b77dd92062479
parent7b21bf086053679c5ef1ea612072a78018370281
env: fat: Standardize the interface type check

Make the interface type check consistent among the other interface types
by checking it agains the ifname string.

The ifname string contains the string returned by env_fat_get_intf(), which
returns the CONFIG_ENV_FAT_INTERFACE value.

No functional change.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
env/fat.c