summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/ethernet')
-rw-r--r--src/connections/ethernet3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index 86d8b96..0e72ad3 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -24,12 +24,13 @@ ethernet_up() {
[[ -z "$WPA_CONF" ]] && WPA_CONF="/etc/wpa_supplicant.conf"
[[ -z "$WPA_OPTS" ]] && WPA_OPTS="-Dwired"
report_debug ethernet_up start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_OPTS"
- if ! start_wpa $INTERFACE $WPA_CONF $WPA_OPTS; then
+ if ! start_wpa "$INTERFACE" "$WPA_CONF" "$WPA_OPTS"; then
report_fail "wpa_supplicant did not start, possible configuration error"
return 1
fi
if ! wpa_check "$INTERFACE"; then
ifconfig "$INTERFACE" down
+ report_fail "WPA Authentication/Association Failed"
return 1
fi
fi