1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 23:17:53 +01:00

mac80211: fix wpa in client mode

SVN-Revision: 18355
This commit is contained in:
Felix Fietkau 2009-11-10 19:27:13 +00:00
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