ramips: ArcherC50v1: fix wlan2g MAC address

By default the wlan eprom contains the generic ralink MAC which is not
the vendor (TP-Link) one. Based on OFW bootlog, it appears that addresses
are decremented from the ethernet MAC.

This patch fixes the MAC address for wlan2g in line with OFW.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
This commit is contained in:
Thibaut VARENE 2017-08-04 17:22:03 +02:00 committed by Mathias Kresin
parent 48798af6d2
commit 982612dba2

View File

@ -169,6 +169,8 @@
&wmac { &wmac {
ralink,mtd-eeprom = <&radio 0>; ralink,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-2)>;
}; };
&pcie { &pcie {