summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-02-08 13:42:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-02-08 13:42:14 +0000
commite1efddf19bec65f23ce76cd519411ccad44c53e9 (patch)
treebddbf3da6c03deae54f20d778d9300d3147e1bac /package/hostapd
parentd2cd6f3b9999359533ecd8f5b3af8ceb5d0c8d4c (diff)
downloadmtk-20170518-e1efddf19bec65f23ce76cd519411ccad44c53e9.zip
mtk-20170518-e1efddf19bec65f23ce76cd519411ccad44c53e9.tar.gz
mtk-20170518-e1efddf19bec65f23ce76cd519411ccad44c53e9.tar.bz2
mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
SVN-Revision: 19550
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/files/wpa_supplicant.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh
index 8f7f503..ccf31ba 100644
--- a/package/hostapd/files/wpa_supplicant.sh
+++ b/package/hostapd/files/wpa_supplicant.sh
@@ -12,6 +12,9 @@ wpa_supplicant_setup_vif() {
}
case "$enc" in
+ *none*)
+ key_mgmt='NONE'
+ ;;
*wep*)
key_mgmt='NONE'
config_get key "$vif" key