From: Felix Fietkau Date: Thu, 29 Mar 2012 16:30:13 +0000 (+0000) Subject: wpa_supplicant: make key_mgmt default to NONE X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8dc49f2658bf2fbca8e105cc02606f9a2571b3c5;p=openwrt%2Fsvn-archive%2Farchive.git wpa_supplicant: make key_mgmt default to NONE SVN-Revision: 31145 --- diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh index bbd928bfec..9c475a8fb1 100644 --- a/package/hostapd/files/wpa_supplicant.sh +++ b/package/hostapd/files/wpa_supplicant.sh @@ -35,12 +35,10 @@ wpa_supplicant_setup_vif() { } [ "$mode" = "adhoc" ] && modestr="mode=1" + key_mgmt='NONE' case "$enc" in - *none*) - key_mgmt='NONE' - ;; + *none*) ;; *wep*) - key_mgmt='NONE' config_get key "$vif" key key="${key:-1}" case "$key" in