projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48798af
)
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:31:05 +0000
(09:31 +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 7846180b4b0bf36138578e0fc793d155dcfa7ece..465260b56124c7a3bb2b9ce5b236df075b909b38 100644
(file)
--- a/
target/linux/ramips/dts/ArcherC50.dts
+++ b/
target/linux/ramips/dts/ArcherC50.dts
@@
-169,6
+169,8
@@
&wmac {
ralink,mtd-eeprom = <&radio 0>;
+ mtd-mac-address = <&rom 0xf100>;
+ mtd-mac-address-increment = <(-2)>;
};
&pcie {