From: David Bauer Date: Thu, 2 Jan 2020 18:27:54 +0000 (+0100) Subject: ramips: fix Archer C20i wireless MAC address X-Git-Tag: v19.07.0~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=594f731e04f5442c94a4cfb57c7d46d7513fa9ce;p=oweals%2Fopenwrt.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 (cherry picked from commit 3b013dcdf8d8aa0e3601e3aac30342318025e32a) --- 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)>; }; };