projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wpa_supplicant: make key_mgmt default to NONE
[openwrt/staging/chunkeey.git]
/
package
/
hostapd
/
files
/
wpa_supplicant.sh
diff --git
a/package/hostapd/files/wpa_supplicant.sh
b/package/hostapd/files/wpa_supplicant.sh
index bbd928bfeca66e531dee2ded1caeaea353132bba..9c475a8fb194522ba36c4846af37f573094b6499 100644
(file)
--- 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