From 5e3e6c8c0d8580f7d2c41cf1cfeb9a05665844ae Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 10 Nov 2009 19:27:13 +0000 Subject: mac80211: fix wpa in client mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18355 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/files/lib/wifi/mac80211.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 5af7a9a26c..ccd4d2c389 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 -- cgit v1.2.3