projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8904e9
)
ramips: ArcherC50v1: fix wlan2g MAC address
author
Thibaut VARENE
<hacks@slashdirt.org>
Fri, 4 Aug 2017 15:22:03 +0000
(17:22 +0200)
committer
Mathias Kresin
<dev@kresin.me>
Sun, 6 Aug 2017 07:22:03 +0000
(09:22 +0200)
By default the wlan eprom contains the generic ralink MAC which is not
the vendor (TP-Link) one. Based on OFW bootlog, it appears that addresses
are decremented from the ethernet MAC.
This patch fixes the MAC address for wlan2g in line with OFW.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
target/linux/ramips/dts/ArcherC50.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/ArcherC50.dts
b/target/linux/ramips/dts/ArcherC50.dts
index 444c2bc1af965dbc58f2ca8ad8af1d9075b31b6d..e8729232b043c82f4381340d31df653b873c70b1 100644
(file)
--- a/
target/linux/ramips/dts/ArcherC50.dts
+++ b/
target/linux/ramips/dts/ArcherC50.dts
@@
-170,6
+170,8
@@
&wmac {
ralink,mtd-eeprom = <&radio 0>;
+ mtd-mac-address = <&rom 0xf100>;
+ mtd-mac-address-increment = <(-2)>;
};
&pcie {