aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-09-05 15:25:26 +0200
committerJohn Crispin <john@phrozen.org>2019-10-21 14:22:47 +0200
commit8c36fd310517fcd86a1fd07a4618a8c961f30be8 (patch)
tree68df564faf23cb80414f64da51f37cdf9828936a
parent244745d7fcadd813f3ab8b66f66f3fc84f0bc40f (diff)
downloadupstream-8c36fd310517fcd86a1fd07a4618a8c961f30be8.tar.gz
upstream-8c36fd310517fcd86a1fd07a4618a8c961f30be8.tar.bz2
upstream-8c36fd310517fcd86a1fd07a4618a8c961f30be8.zip
ath79: apply alphabetical sorting to entries in 10_fix_wifi_mac
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index 52efd8baaa..8c8b7932bc 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -17,16 +17,16 @@ case "$board" in
adtran,bsap1840)
macaddr_add "$(mtd_get_mac_binary 'Board data' 2)" $(($PHYNBR * 8 + 1)) > /sys${DEVPATH}/macaddress
;;
- iodata,wn-ag300dgr)
+ iodata,wn-ac1600dgr)
# There is no eeprom data for 5 GHz wlan in "art" partition
# which would allow to patch the macaddress
- [ "$PHYNBR" -eq 1 ] && \
+ [ "$PHYNBR" -eq 0 ] && \
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
;;
- iodata,wn-ac1600dgr)
+ iodata,wn-ag300dgr)
# There is no eeprom data for 5 GHz wlan in "art" partition
# which would allow to patch the macaddress
- [ "$PHYNBR" -eq 0 ] && \
+ [ "$PHYNBR" -eq 1 ] && \
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
;;
phicomm,k2t)