[source] ipq806x: fix wireless macs

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 3 11:27:39 PST 2017


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

commit c9801475270db2faf93b7da750da8117cad240d2
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Fri Feb 3 15:10:57 2017 +0200

    ipq806x: fix wireless macs
    
    Commit 71a39b8 ("ipq806x: Fix wireless support for Netgear Nighthawk X4S
    D7800") added a trailing TAB char after the backslash which prevents
    the assignment of the correct MACs for wifi devices.
    
    Fixes: FS#451
    
    Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
    [reworded commit message]
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 0da6e0b..2ea408d 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
@@ -16,7 +16,7 @@ case "$board" in
 		echo $(macaddr_add $(mtd_get_mac_binary default-mac 8)  $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress
 		;;
 	d7800 |\
-	r7500v2 |\	
+	r7500v2 |\
 	r7800)
 		echo $(macaddr_add $(mtd_get_mac_binary art 6)  $(($PHYNBR + 1)) ) > /sys${DEVPATH}/macaddress
 		;;



More information about the lede-commits mailing list