summaryrefslogtreecommitdiffstats
path: root/src/wireless.subr
diff options
context:
space:
mode:
Diffstat (limited to 'src/wireless.subr')
-rw-r--r--src/wireless.subr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wireless.subr b/src/wireless.subr
index 6a3cabc..d188d19 100644
--- a/src/wireless.subr
+++ b/src/wireless.subr
@@ -152,6 +152,8 @@ wireless_up() {
return 1
fi
+ quirk "postsleep" && sleep 1
+ quirk "postscan" && sleep 1 && iwlist $INTERFACE scan &>/dev/null
quirk "predown" && ifconfig $INTERFACE up
wep_check $INTERFACE $TIMEOUT|| return 1