summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-27 17:46:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-27 17:46:31 +0000
commit87d81bc050afb3572fcee0e629e6a7558ff54f19 (patch)
treee2e67a7883ce1f1f2f822851859eb7cf9934e4d9
parenta932a9beca2fe4874679113714fac643d536d1a8 (diff)
downloadmtk-20170518-87d81bc050afb3572fcee0e629e6a7558ff54f19.zip
mtk-20170518-87d81bc050afb3572fcee0e629e6a7558ff54f19.tar.gz
mtk-20170518-87d81bc050afb3572fcee0e629e6a7558ff54f19.tar.bz2
madwifi: fix syntax error introduced by r23660
SVN-Revision: 23679
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index d070114..9e0e70b 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -219,7 +219,7 @@ enable_atheros() {
case "$enc" in
*shared*) iwpriv "$ifname" authmode 2;;
*) iwpriv "$ifname" authmode 1;;
- ;;
+ esac
for idx in 1 2 3 4; do
config_get key "$vif" "key${idx}"
iwconfig "$ifname" enc "[$idx]" "${key:-off}"