mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 18:14:35 +02:00
mac80211: fix wpa in client mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18355 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
860aac31e7
commit
a4df146bd6
@ -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 New Issue
Block a user