1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-08 23:46:42 +03: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:
nbd 2009-11-10 19:27:13 +00:00
parent 860aac31e7
commit a4df146bd6

View File

@ -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