Skip to content

Commit

Permalink
wpa_supplicant: use wext driver for hostap and madwifi
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31081 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Mar 27, 2012
1 parent e827a71 commit 7501595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/hostap-driver/files/lib/wifi/hostap.sh
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package/madwifi/files/lib/wifi/madwifi.sh
Expand Up @@ -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
Expand Down

0 comments on commit 7501595

Please sign in to comment.