From: David Bauer Date: Thu, 2 Jan 2020 18:27:54 +0000 (+0100) Subject: ramips: fix Archer C20i wireless MAC address X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3b013dcdf8d8aa0e3601e3aac30342318025e32a;p=openwrt%2Fstaging%2Fthess.git ramips: fix Archer C20i wireless MAC address The TP-Link Archer C20i previously had a generic Ralink MAC address set for both radios, as the caldata does only contain a generic MAC address. Set the MAC address from the vendor firmware for both radios to assign unique MAC addresses to every device. Signed-off-by: David Bauer --- diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts index a363af96cd..7e05a2e1ea 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts @@ -53,3 +53,12 @@ ralink,function = "gpio"; }; }; + +&wmac { + mtd-mac-address = <&rom 0xf100>; +}; + +&wifi { + mtd-mac-address = <&rom 0xf100>; + mtd-mac-address-increment = <(-1)>; +};