[PATCH] WR841-v7: get routermac from phy0 instead of wlan0
Tim Niemeyer
tim at tn-x.org
So Jan 21 13:05:53 CET 2018
Fixes: #71
Signed-off-by: Tim Niemeyer <tim at tn-x.org>
---
src/packages/fff/fff-network/ar71xx/network.tl-wr841-v7 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/packages/fff/fff-network/ar71xx/network.tl-wr841-v7 b/src/packages/fff/fff-network/ar71xx/network.tl-wr841-v7
index 183e123..46fd57b 100644
--- a/src/packages/fff/fff-network/ar71xx/network.tl-wr841-v7
+++ b/src/packages/fff/fff-network/ar71xx/network.tl-wr841-v7
@@ -5,4 +5,4 @@ WAN_PORTS=
BATMAN_PORTS="3 4 0t"
ETHMESHMAC=$(cat /sys/class/net/eth1/address)
-ROUTERMAC=$(cat /sys/class/net/wlan0/address)
+ROUTERMAC=$(cat /sys/class/ieee80211/phy0/macaddress)
--
2.11.0
Mehr Informationen über die Mailingliste franken-dev