summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0b248869..001ea09 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