summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2008-08-05 17:10:45 +0200
committerJames Rayner <james@archlinux.org>2008-08-05 17:10:45 +0200
commitffae225ceb0bae05800a73817b7c022549d98d56 (patch)
tree958e2e1cfb6747d84da58f53fcb832a46094d8e7
parent8562faa3ca1bd7fc16830d19f49044280e2d7bb9 (diff)
downloadnetctl-ffae225ceb0bae05800a73817b7c022549d98d56.tar.gz
netctl-ffae225ceb0bae05800a73817b7c022549d98d56.tar.xz
Two quirks to test for iwl3945, reported on forums post:402541
-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