[source] ipq806x: fix wlan mac for Netgear R7800

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 5 23:40:06 PDT 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/9677bfbb0fcb035550b9c8d380481273a89c4f52

commit 9677bfbb0fcb035550b9c8d380481273a89c4f52
Author: Pavel Kubelun <be.dissent at gmail.com>
AuthorDate: Tue Sep 13 14:39:23 2016 +0300

    ipq806x: fix wlan mac for Netgear R7800
    
    Signed-off-by: Pavel Kubelun <be.dissent at gmail.com>
---
 .../linux/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 1ae4352..8a0579b 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



More information about the lede-commits mailing list