Lorenzo BianconiandDavid Bauer 38f4c57989 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: d1bc9bf2072c ("mt76: mt76x0: eeprom: add support for MAC address from OF")
Tested-by: Kevin Schmidt <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
[backported from upstream commit 693d060536abca7b16d2fb8e66aa56be2a2443a2]
Signed-off-by: David Bauer <[email protected]>
2020-01-03 16:55:51 +01:00
2019-04-25 12:04:34 +02:00
2015-12-13 17:54:16 +01:00
2019-12-14 18:16:08 +01:00
2019-12-05 17:46:42 +01:00
2019-12-22 15:17:42 +01:00
2019-12-22 15:17:42 +01:00
2019-12-22 15:17:42 +01:00
2019-08-22 09:26:30 +02:00
2019-08-22 09:26:30 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%