ipq806x: fix wlan mac for Netgear R7800

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
lede-17.01
Pavel Kubelun 2016-09-13 14:39:23 +03:00 committed by Mathias Kresin
parent ec041920b7
commit 9677bfbb0f
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ case "$board" in
ea8500)
echo $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress
;;
r7800)
echo $(macaddr_add $(mtd_get_mac_binary art 6) $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress
;;
*)
;;
esac