Searched hist:"59 b27a7d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 59b27a7d Sat Dec 03 15:33:17 CST 2022 Ryder Lee <ryder.lee@mediatek.com> wifi: mt76: mt7915: check return value before accessing free_block_num
Check return value of mt7915_mcu_get_eeprom_free_block() first before accessing free_block_num.
Fixes: bbc1d4154ec1 ("mt76: mt7915: add default calibrated data support") Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
H A D | mcu.c | 59b27a7d Sat Dec 03 15:33:17 CST 2022 Ryder Lee <ryder.lee@mediatek.com> wifi: mt76: mt7915: check return value before accessing free_block_num
Check return value of mt7915_mcu_get_eeprom_free_block() first before accessing free_block_num.
Fixes: bbc1d4154ec1 ("mt76: mt7915: add default calibrated data support") Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
|