aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-03-27 10:44:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-03-27 10:44:26 +0000
commit699baacf386033412f5a232fa7f6b06ccc8592a9 (patch)
treedfe27f035c3f4e81d4dfb1fdc5d3dfdab05c9a3a /package/madwifi/files/lib/wifi
parent3ad1877dd2575b9788137cf1f6d6e08f64b2c394 (diff)
downloadmaster-187ad058-699baacf386033412f5a232fa7f6b06ccc8592a9.tar.gz
master-187ad058-699baacf386033412f5a232fa7f6b06ccc8592a9.tar.bz2
master-187ad058-699baacf386033412f5a232fa7f6b06ccc8592a9.zip
wpa_supplicant: use wext driver for hostap and madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31081 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/files/lib/wifi')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 8a4572db60..a180a82d88 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -407,7 +407,7 @@ enable_atheros() {
;;
wds|sta)
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
- wpa_supplicant_setup_vif "$vif" madwifi || {
+ wpa_supplicant_setup_vif "$vif" wext || {
echo "enable_atheros($device): Failed to set up wpa_supplicant for interface $ifname" >&2
ifconfig "$ifname" down
wlanconfig "$ifname" destroy