From: Felix Fietkau Date: Tue, 27 Mar 2012 10:44:26 +0000 (+0000) Subject: wpa_supplicant: use wext driver for hostap and madwifi X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d8ac2c7c3fd37d3040cb577a511cfb01dacbe5bd;p=openwrt%2Fstaging%2Fstintel.git wpa_supplicant: use wext driver for hostap and madwifi SVN-Revision: 31081 --- diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 1491c6d54a..62d2e7e472 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 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