Home
last modified time | relevance | path

Searched hist:"3 b2f0286" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c3b2f0286 Thu Dec 15 22:05:31 CST 2022 Shayne Chen <shayne.chen@mediatek.com> wifi: mt76: mt7915: add chip id condition in mt7915_check_eeprom()

When flash mode is enabled, and the eeprom data in the flash is not for
the current chipset, it'll still be checked valid, and the default
eeprom bin won't be loaded.
(e.g., mt7915 NIC inserted with mt7916 eeprom data in the flash.)

Fix this kind of case by adding chip id into consideration in
mt7915_check_eeprom().

Reported-by: Cheng-Ji Li <cheng-ji.li@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>