diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-10 19:27:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-10 19:27:13 +0000 |
commit | 559f32adbc9e4038f21f9a1254865e264ac94367 (patch) | |
tree | a26b88215d56cacf09df3b790e8883157263b999 /package/mac80211/files/lib/wifi/mac80211.sh | |
parent | 10752b10dfa64e4c38c59afbaa2545792a7f369c (diff) | |
download | upstream-559f32adbc9e4038f21f9a1254865e264ac94367.tar.gz upstream-559f32adbc9e4038f21f9a1254865e264ac94367.tar.bz2 upstream-559f32adbc9e4038f21f9a1254865e264ac94367.zip |
mac80211: fix wpa in client mode
SVN-Revision: 18355
Diffstat (limited to 'package/mac80211/files/lib/wifi/mac80211.sh')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 3 |
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 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 |