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 c8904e9c04
commit 370aacf532

View file

@ -170,6 +170,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 {