diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-06-18 09:52:44 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-06-18 09:52:44 +0200 |
commit | 6140564a3463e949ba1f00b03a45ba94802353f6 (patch) | |
tree | 94d26b3fab0affdc7cce04aa18acc8a459b62c72 /src/8021x | |
parent | d2656b7dab538dcb7b5e49c6ac4aa5833a883a8c (diff) | |
download | netctl-6140564a3463e949ba1f00b03a45ba94802353f6.tar.gz netctl-6140564a3463e949ba1f00b03a45ba94802353f6.tar.xz |
Increase base wifi scan wait
Sometimes no results responses have been collected within 2 seconds.
Diffstat (limited to 'src/8021x')
-rw-r--r-- | src/8021x | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -143,10 +143,10 @@ wpa_supplicant_scan_info() { fi wpa_cli -p "$WPA_CTRL_PATH" -i "$INTERFACE" scan &> /dev/null - # Wait at least 2 seconds for scan results - sleep 2 + # Wait at least 3 seconds for scan results + sleep 3 # Sometimes, that is not enough (FS#29946) - for (( scan_wait = 2; scan_wait < 10; scan_wait++ )); do + for (( scan_wait = 3; scan_wait < 10; scan_wait++ )); do wpa_cli -p "$WPA_CTRL_PATH" -i "$INTERFACE" status | grep -q "wpa_state=SCANNING" || break sleep 1 done |