summaryrefslogtreecommitdiffstats
path: root/src-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'src-wireless')
-rw-r--r--src-wireless/netcfg-auto-wireless8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-wireless/netcfg-auto-wireless b/src-wireless/netcfg-auto-wireless
index fe042be..3215d5c 100644
--- a/src-wireless/netcfg-auto-wireless
+++ b/src-wireless/netcfg-auto-wireless
@@ -17,11 +17,11 @@ wifi_auto()
set_rf_state "$interface" up || exit $?
fi
- set_interface up "$interface" # uses iproute methods---is it there any value to providing option to use ifconfig?
+ bring_interface up "$interface" # uses iproute methods---is it there any value to providing option to use ifconfig?
networks=$(list_networks "$interface")
if [[ -z "$networks" ]]; then
- set_interface forcedown "$interface"
+ bring_interface forcedown "$interface"
exit_fail "- No networks available."
fi
@@ -66,11 +66,11 @@ wifi_auto()
if profile_up "$found_profile"; then
exit 0
else
- set_interface forcedown "$interface"
+ bring_interface forcedown "$interface"
exit_fail "Couldn't connect profile $found_profile."
fi
else
- set_interface forcedown "$interface"
+ bring_interface forcedown "$interface"
exit_fail "No profiles matched the local networks."
fi