wpa_supplicant: use wext driver for hostap and madwifi
SVN-Revision: 31081
This commit is contained in:
parent
4225e4b2d8
commit
d8ac2c7c3f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue