From 3b013dcdf8d8aa0e3601e3aac30342318025e32a Mon Sep 17 00:00:00 2001 From: David Bauer Date: Thu, 2 Jan 2020 19:27:54 +0100 Subject: [PATCH] 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 --- target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts | 9 +++++++++ 1 file changed, 9 insertions(+) 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)>; +}; -- 2.25.1