aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-02 19:27:54 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-02 21:41:58 +0100
commit3b013dcdf8d8aa0e3601e3aac30342318025e32a (patch)
tree57c6ae22f4c5f491d2ae0a35e033d50ceb152dc2 /target/linux
parentdcc923a4c45b48fcbef4f3964f74fbcaabad335e (diff)
downloadupstream-3b013dcdf8d8aa0e3601e3aac30342318025e32a.tar.gz
upstream-3b013dcdf8d8aa0e3601e3aac30342318025e32a.tar.bz2
upstream-3b013dcdf8d8aa0e3601e3aac30342318025e32a.zip
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 <mail@david-bauer.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts9
1 files changed, 9 insertions, 0 deletions
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)>;
+};