aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-05-02 22:03:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-05-02 22:03:54 +0000
commit07c4fcc4d40d6ffc55a02503509b901ce02cfd8f (patch)
tree3619b2712e85802a0bb01a86838046753ec4ca59
parent69efd9371a89e3695fe854c867ed384eb8a19f99 (diff)
downloadupstream-07c4fcc4d40d6ffc55a02503509b901ce02cfd8f.tar.gz
upstream-07c4fcc4d40d6ffc55a02503509b901ce02cfd8f.tar.bz2
upstream-07c4fcc4d40d6ffc55a02503509b901ce02cfd8f.zip
mac80211: use the nl80211 driver for wpa_supplicant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21321 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index c871cbe732..af8dd23270 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -362,7 +362,7 @@ enable_mac80211() {
;;
sta)
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
- wpa_supplicant_setup_vif "$vif" wext || {
+ wpa_supplicant_setup_vif "$vif" nl80211 || {
echo "enable_mac80211($device): Failed to set up wpa_supplicant for interface $ifname" >&2
# make sure this wifi interface won't accidentally stay open without encryption
ifconfig "$ifname" down