mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
mac80211: fix wpa in client mode
SVN-Revision: 18355
This commit is contained in:
parent
10752b10df
commit
559f32adbc
@ -248,7 +248,8 @@ enable_mac80211() {
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
wpa)
|
||||
wpa*|psk*)
|
||||
config_get key "$vif" key
|
||||
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
|
||||
wpa_supplicant_setup_vif "$vif" wext || {
|
||||
echo "enable_mac80211($device): Failed to set up wpa_supplicant for interface $ifname" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user