summaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-08 13:42:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-08 13:42:14 +0000
commit9cbf96cc5a5205d6178f97ea46e7a32884ca40f8 (patch)
tree6cd5754f9173d280fededb38a5258ef212c44593 /package/hostapd
parenta3d1e1db67e0f1139a377202a04b481d54078ae7 (diff)
mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19550 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 8f7f503c1..ccf31baa9 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