mac80211: fix wpa in client mode
SVN-Revision: 18355
This commit is contained in:
parent
10752b10df
commit
559f32adbc
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ enable_mac80211() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
wpa)
|
wpa*|psk*)
|
||||||
|
config_get key "$vif" key
|
||||||
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
|
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
|
||||||
wpa_supplicant_setup_vif "$vif" wext || {
|
wpa_supplicant_setup_vif "$vif" wext || {
|
||||||
echo "enable_mac80211($device): Failed to set up wpa_supplicant for interface $ifname" >&2
|
echo "enable_mac80211($device): Failed to set up wpa_supplicant for interface $ifname" >&2
|
||||||
|
|
Loading…
Reference in a new issue