summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 0b2488690..001ea0933 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -151,9 +151,8 @@ enable_atheros() {
*) iwconfig "$ifname" enc "$key";;
esac
;;
- PSK|psk|PSK2|psk2)
+ psk*|wpa*)
start_hostapd=1
- config_get key "$vif" key
;;
esac