ipq806x: fix wlan mac for Netgear R7800

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
master
Pavel Kubelun 8 years ago committed by Mathias Kresin
parent ec041920b7
commit 9677bfbb0f
  1. 3
      target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

@ -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

Loading…
Cancel
Save