2
0
forked from Ivasoft/openwrt

ar71xx: Archer C58/C59/C60 fix qca9886 wireless interface

This commit fix 5GHz wireless interface used in Archer C58/C59/C60v1
and set correctly MAC address on this interface.

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
This commit is contained in:
Henryk Heisig
2017-06-29 15:20:31 +02:00
committed by Jo-Philipp Wich
parent 6f528dfbd9
commit 34958c8269
3 changed files with 9 additions and 7 deletions

View File

@@ -12,7 +12,9 @@ PHYNBR=${DEVPATH##*/phy}
board=$(board_name)
case "$board" in
archer-c58-v1)
archer-c58-v1|\
archer-c59-v1|\
archer-c60-v1)
echo $(macaddr_add $(mtd_get_mac_binary mac 8) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
;;
*)