From: Thibaut VARENE Date: Fri, 4 Aug 2017 15:22:03 +0000 (+0200) Subject: ramips: ArcherC50v1: fix wlan2g MAC address X-Git-Tag: v18.06.0-rc1~2408 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=370aacf53280ca78fb3570558d5e1f29d0ae8d18 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 --- diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index 444c2bc1af..e8729232b0 100644 --- a/target/linux/ramips/dts/ArcherC50.dts +++ b/target/linux/ramips/dts/ArcherC50.dts @@ -170,6 +170,8 @@ &wmac { ralink,mtd-eeprom = <&radio 0>; + mtd-mac-address = <&rom 0xf100>; + mtd-mac-address-increment = <(-2)>; }; &pcie {