Skip to content

Commit e7d89ac

Browse files
naf419hauke
authored andcommitted
ath79: Fix syntax error in 10_fix_wifi_mac
This typo makes the script fail with: -ash: /etc/hotplug.d/ieee80211/10_fix_wifi_mac: line 66: syntax error: unexpected word (expecting ")") which ultimately prevents the mac address for certain devices wireless cards being set correctly Signed-off-by: Nick French <[email protected]> Link: openwrt/openwrt#21287 Signed-off-by: Hauke Mehrtens <[email protected]> (cherry picked from commit cb94962)
1 parent 51aa6d1 commit e7d89ac

File tree

1 file changed

+0
-2
lines changed
  • target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211

1 file changed

+0
-2
lines changed

target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ case "$board" in
6060
extreme-networks,ws-ap3805i)
6161
[ "$PHYNBR" -eq 0 ] && \
6262
mtd_get_mac_ascii cfg1 RADIOADDR0 > /sys${DEVPATH}/macaddress
63-
;;
6463
[ "$PHYNBR" -eq 1 ] && \
6564
mtd_get_mac_ascii cfg1 RADIOADDR1 > /sys${DEVPATH}/macaddress
6665
;;
@@ -71,7 +70,6 @@ case "$board" in
7170
# which would allow to patch the macaddress
7271
[ "$PHYNBR" -eq 0 ] && \
7372
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
74-
;;
7573
[ "$PHYNBR" -eq 1 ] && \
7674
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 0 > /sys${DEVPATH}/macaddress
7775
;;

0 commit comments

Comments
 (0)