wpa_supplicant: use wext driver for hostap and madwifi
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 10:44:26 +0000 (10:44 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 27 Mar 2012 10:44:26 +0000 (10:44 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31081 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostap-driver/files/lib/wifi/hostap.sh
package/madwifi/files/lib/wifi/madwifi.sh

index 1491c6d..62d2e7e 100755 (executable)
@@ -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
index 8a4572d..a180a82 100755 (executable)
@@ -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
This page took 0.02457 seconds and 4 git commands to generate.