summaryrefslogtreecommitdiffstats
path: root/package/hostap-driver/files/lib/wifi
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/hostap-driver/files/lib/wifi
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/hostap-driver/files/lib/wifi')
-rwxr-xr-xpackage/hostap-driver/files/lib/wifi/hostap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh
index 1491c6d54..62d2e7e47 100755
--- a/package/hostap-driver/files/lib/wifi/hostap.sh
+++ b/package/hostap-driver/files/lib/wifi/hostap.sh
@@ -211,7 +211,7 @@ enable_prism2() {
;;
wds|sta)
if eval "type wpa_supplicant_setup_vif" 2>/dev/null >/dev/null; then
- wpa_supplicant_setup_vif "$vif" hostap || {
+ wpa_supplicant_setup_vif "$vif" wext || {
echo "enable_prism2($device): Failed to set up wpa_supplicant for interface $ifname" >&2
ifconfig "$ifname" down
continue