ramips: fix 5g mac for TOTOLINK X5000R
authorChuanhong Guo <gch981213@gmail.com>
Sun, 26 Mar 2023 15:50:43 +0000 (23:50 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 26 Mar 2023 15:55:54 +0000 (23:55 +0800)
commit212632540043cc9b911c2efb86156479f2710836
tree7e86c0561c850ee4d76cd7f6bebefea7fc09c68c
parent3ab670b24eee8adef77a71d9d11ee362c1668b26
ramips: fix 5g mac for TOTOLINK X5000R

There's no valid mac address for the second band in the eeprom.
The vendor fw uses 2.4G mac + 4 as the mac for 5G radio.
Do the same in our firmware.

Fixes: 23be410b3d ("ramips: add support for TOTOLINK X5000R")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac