1
0
Fork 0
alistair23-linux/drivers/net/wireless/mediatek/mt76/mt76x0
Lorenzo Bianconi 693d060536 mt76: mt76x0: fix default mac address overwrite
Current implementation always use default eeprom mac address to
configure device registers even if it is updated using
mt76_eeprom_override. Fix it initializing macaddr filed of mt76_dev data
structure with eeprom mac address and running mt76_eeprom_override
before mt76x02_mac_setaddr

Fixes: d1bc9bf207 ("mt76: mt76x0: eeprom: add support for MAC address from OF")
Tested-by: Kevin Schmidt <kevin.patrick.schmidt@googlemail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-12-02 16:49:05 +02:00
..
Kconfig mt76: Add paragraphs to describe the config symbols fully 2019-09-05 17:42:30 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
eeprom.c mt76: mt76x0: fix default mac address overwrite 2019-12-02 16:49:05 +02:00
eeprom.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
init.c mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module 2019-11-20 13:23:48 +01:00
initvals.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
initvals_phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
main.c mt76: use mt76_dev in mt76_is_{mmio,usb} 2019-11-20 13:23:51 +01:00
mcu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mt76x0.h mt76: use mt76_dev in mt76_is_{mmio,usb} 2019-11-20 13:23:51 +01:00
pci.c mt76: move mt76_get_antenna in mt76_core module 2019-11-20 13:23:51 +01:00
pci_mcu.c mt76: switch to SPDX tag instead of verbose boilerplate text 2019-09-05 17:42:31 +02:00
phy.c mt76: use mt76_dev in mt76_is_{mmio,usb} 2019-11-20 13:23:51 +01:00
phy.h mt76: mt76x02: fix some checkpatch warnings 2019-09-05 17:42:31 +02:00
usb.c mt76: move mt76_get_antenna in mt76_core module 2019-11-20 13:23:51 +01:00
usb_mcu.c mt76: switch to SPDX tag instead of verbose boilerplate text 2019-09-05 17:42:31 +02:00