From 594f731e04f5442c94a4cfb57c7d46d7513fa9ce 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 (cherry picked from commit 3b013dcdf8d8aa0e3601e3aac30342318025e32a) --- target/linux/ramips/dts/ArcherC20i.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts index 94efb89dc8..8d4f51a5f6 100644 --- a/target/linux/ramips/dts/ArcherC20i.dts +++ b/target/linux/ramips/dts/ArcherC20i.dts @@ -152,6 +152,7 @@ &wmac { ralink,mtd-eeprom = <&radio 0>; + mtd-mac-address = <&rom 0xf100>; }; &pcie { @@ -163,5 +164,7 @@ reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&radio 32768>; ieee80211-freq-limit = <5000000 6000000>; + mtd-mac-address = <&rom 0xf100>; + mtd-mac-address-increment = <(-1)>; }; }; -- 2.30.2