From 9677bfbb0fcb035550b9c8d380481273a89c4f52 Mon Sep 17 00:00:00 2001 From: Pavel Kubelun Date: Tue, 13 Sep 2016 14:39:23 +0300 Subject: [PATCH] ipq806x: fix wlan mac for Netgear R7800 Signed-off-by: Pavel Kubelun --- .../ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 3 +++ 1 file changed, 3 insertions(+) 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