diff options
author | Pavel Kubelun <be.dissent@gmail.com> | 2016-09-13 14:39:23 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-10-06 08:01:33 +0200 |
commit | 9677bfbb0fcb035550b9c8d380481273a89c4f52 (patch) | |
tree | 7d57902e504271f2ed30e6c0d74be40a1e32bee9 | |
parent | ec041920b7132062a0e459692daf298932c63bdd (diff) | |
download | upstream-9677bfbb0fcb035550b9c8d380481273a89c4f52.tar.gz upstream-9677bfbb0fcb035550b9c8d380481273a89c4f52.tar.bz2 upstream-9677bfbb0fcb035550b9c8d380481273a89c4f52.zip |
ipq806x: fix wlan mac for Netgear R7800
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
-rw-r--r-- | target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 3 |
1 files changed, 3 insertions, 0 deletions
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 |