aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-11 15:37:34 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-03-14 13:20:13 +0100
commit9f024d35877756c8d72186e23ffff90f687bf3f8 (patch)
treea94985b72dc28c533f58d0777aa0b70c26a46eef
parentb32129d30ba20c871a301c8627221b2467e60bf0 (diff)
downloadupstream-9f024d35877756c8d72186e23ffff90f687bf3f8.tar.gz
upstream-9f024d35877756c8d72186e23ffff90f687bf3f8.tar.bz2
upstream-9f024d35877756c8d72186e23ffff90f687bf3f8.zip
ath79: fix swapped LAN/WAN MAC address for Archer C60 v1/v2
The MAC addresses for lan/wan are swapped compared to the vendor firmware. This adjusts to vendor configuration, which is: lan *:7b label wan *:7c label+1 2.4g *:7b label 5g *:7a label-1 Only one address is stored in <&mac 0x8>, corresponding to the label. This has been checked on revisions v1, v2 and v3. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 88aead0a665dd349af4fb8afcfe1a16cf90515ae)
-rw-r--r--target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
index deee64a6a7..23ef0cdcbf 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi
@@ -91,13 +91,13 @@
phy-handle = <&swphy4>;
mtd-mac-address = <&mac 0x8>;
+ mtd-mac-address-increment = <1>;
};
&eth1 {
status = "okay";
mtd-mac-address = <&mac 0x8>;
- mtd-mac-address-increment = <1>;
};
&wmac {