From: Pavel Kubelun Date: Tue, 13 Sep 2016 11:39:23 +0000 (+0300) Subject: ipq806x: fix wlan mac for Netgear R7800 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9677bfbb0fcb035550b9c8d380481273a89c4f52;p=openwrt%2Fstaging%2Faparcar.git ipq806x: fix wlan mac for Netgear R7800 Signed-off-by: Pavel Kubelun --- diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 1ae4352686..8a0579b747 100644 --- a/target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/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