I'm not really sure if it makes sense to bring the device down if the
auth fails. But why destroying a device that was explicitly requested
in the configuration file?
Signed-off-by: Roberto Riggio <roberto dot riggio at create-net dot org>
---
Index: package/madwifi/files/lib/wifi/madwifi.sh
===================================================================
--- package/madwifi/files/lib/wifi/madwifi.sh (revisione 12631)
+++ package/madwifi/files/lib/wifi/madwifi.sh (copia locale)
@@ -276,8 +276,6 @@
if eval "type wpa_supplicant_setup_vif"
2>/dev/null >/dev/null; then
wpa_supplicant_setup_vif "$vif" madwifi
|| {
echo "enable_atheros($device):
Failed to set up wpa_supplicant for interface $ifname" >&2
- ifconfig "$ifname" down
- wlanconfig "$ifname" destroy
continue
}
fi
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel