summaryrefslogtreecommitdiff
path: root/package/hostap-driver/files
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
commitd8ac2c7c3fd37d3040cb577a511cfb01dacbe5bd (patch)
tree3a066120b4c945024a500a4e488aa3a4a63bfb63 /package/hostap-driver/files
parent4225e4b2d8fe131d93df97916b77910c0906c1ad (diff)
downloadmtk-20170518-d8ac2c7c3fd37d3040cb577a511cfb01dacbe5bd.zip
mtk-20170518-d8ac2c7c3fd37d3040cb577a511cfb01dacbe5bd.tar.gz
mtk-20170518-d8ac2c7c3fd37d3040cb577a511cfb01dacbe5bd.tar.bz2
wpa_supplicant: use wext driver for hostap and madwifi
SVN-Revision: 31081
Diffstat (limited to 'package/hostap-driver/files')
-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 1491c6d..62d2e7e 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