mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 09:54:53 +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