mac80211: rt2x00: fix eeprom load from PCI eFuse
authorShiji Yang <yangshiji66@qq.com>
Fri, 7 Feb 2025 13:00:22 +0000 (21:00 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 12 Feb 2025 23:26:22 +0000 (00:26 +0100)
commit693108a31835d43d5e92f116b4dbd9fbed06b7ed
treed8c0c46981523ec84b0f8c6db54fff1b5af87df7
parent40fc6bd5cc679875e38ea1769527affdb5be12ba
mac80211: rt2x00: fix eeprom load from PCI eFuse

When eeprom name is not defined, the file load function should
return an error code so that it can fallthrough to read eeprom
form NIC inside eFuse.

Fixes: https://github.com/openwrt/openwrt/issues/17854
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17892
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/mac80211/patches/rt2x00/602-01-wifi-rt2x00-Add-support-for-loading-EEPROM-from-user.patch