summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick French2025-12-25 15:53:37 +0000
committerHauke Mehrtens2025-12-26 12:37:02 +0000
commitcb94962ac474de707302eb1eb7d7f6fc4c099b0d (patch)
treeca0008014b4af13dd302e005308f5f9cdc760682
parentc1290fa48c3a48bccfaaae98ae5a5ae0b4ab2395 (diff)
downloadopenwrt-cb94962ac474de707302eb1eb7d7f6fc4c099b0d.tar.gz
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 <nickfrench@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21287 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
index aaef2fc15f..0ef322e898 100644
--- a/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
+++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
@@ -60,7 +60,6 @@ case "$board" in
extreme-networks,ws-ap3805i)
[ "$PHYNBR" -eq 0 ] && \
mtd_get_mac_ascii cfg1 RADIOADDR0 > /sys${DEVPATH}/macaddress
- ;;
[ "$PHYNBR" -eq 1 ] && \
mtd_get_mac_ascii cfg1 RADIOADDR1 > /sys${DEVPATH}/macaddress
;;
@@ -71,7 +70,6 @@ case "$board" in
# which would allow to patch the macaddress
[ "$PHYNBR" -eq 0 ] && \
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress
- ;;
[ "$PHYNBR" -eq 1 ] && \
macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 0 > /sys${DEVPATH}/macaddress
;;