aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/files
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
commit7be190edbde5bfb101501ac23112aca8cf22c42f (patch)
tree6cd5754f9173d280fededb38a5258ef212c44593 /package/hostapd/files
parentb93e15a8c5bc2c7ca78f35da9cfe8a4c1ea7e713 (diff)
downloadupstream-7be190edbde5bfb101501ac23112aca8cf22c42f.tar.gz
upstream-7be190edbde5bfb101501ac23112aca8cf22c42f.tar.bz2
upstream-7be190edbde5bfb101501ac23112aca8cf22c42f.zip
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/files')
-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 8f7f503c1f..ccf31baa90 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