summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connections/wireless8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index f521465..27df7ca 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -62,11 +62,11 @@ wireless_up() {
quirk "postscan" && sleep 1 && iwlist $INTERFACE scan &>/dev/null
quirk "predown" && ifconfig $INTERFACE up
- # Some devices appear to not associate until DHCP is run.
- if quirk "noacheck"; then
- sleep ${WIRELESS_TIMEOUT:-20}
- else
+ # Many devices appear to not associate until DHCP is run.
+ if quirk "acheck"; then
wep_check $INTERFACE $TIMEOUT|| return 1
+ else
+ sleep ${TIMEOUT:-15}
fi
;;
wpa)