summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-10 19:27:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-10 19:27:13 +0000
commita4df146bd6ed63724e81f1f2f761430e036e4875 (patch)
treea680ab06e410eddcbe80a6b1474c28de6fafb2a3
parent860aac31e7b9162a68e051491b7a92be76d4a3ed (diff)
mac80211: fix wpa in client mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18355 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 5af7a9a26..ccd4d2c38 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -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