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 16:07:34 +0000 (00:07 +0800)
commit96e3fee7add1acf6da26d524c6b7098f5c809ebd
tree1aed0af705c1f688b15528c7f769d37dce63b634
parentf5db04e8ea8377046a86885fdd5a83e948b54918
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>
(cherry picked from commit 212632540043cc9b911c2efb86156479f2710836)
target/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac