projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f20347
)
wpa_supplicant: make key_mgmt default to NONE
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 29 Mar 2012 16:30:13 +0000
(16:30 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 29 Mar 2012 16:30:13 +0000
(16:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31145
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/hostapd/files/wpa_supplicant.sh
patch
|
blob
|
history
diff --git
a/package/hostapd/files/wpa_supplicant.sh
b/package/hostapd/files/wpa_supplicant.sh
index
bbd928b
..
9c475a8
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