summaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-27 10:44:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-27 10:44:26 +0000
commit750159572abc2ae168741799450143643d264615 (patch)
treedfe27f035c3f4e81d4dfb1fdc5d3dfdab05c9a3a /package/madwifi/files
parente827a711a35efacd0220abfe79ab362db5a77db9 (diff)
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')
-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 8a4572db6..a180a82d8 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