summaryrefslogtreecommitdiffstatshomepage
path: root/tests/wipy/wlan/wlan.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wipy/wlan/wlan.py')
-rw-r--r--tests/wipy/wlan/wlan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wipy/wlan/wlan.py b/tests/wipy/wlan/wlan.py
index 9e18f0c4c2..72a20d4fa8 100644
--- a/tests/wipy/wlan/wlan.py
+++ b/tests/wipy/wlan/wlan.py
@@ -40,6 +40,7 @@ print(wifi.antenna() == WLAN.INT_ANT)
wifi = WLAN(mode=WLAN.STA)
print(wifi.mode() == WLAN.STA)
+time.sleep(5) # this ensures a full network scan
scan_r = wifi.scan()
print(len(scan_r) > 3)
for net in scan_r:
@@ -67,6 +68,7 @@ print(wifi.antenna() == WLAN.INT_ANT)
wifi.antenna(WLAN.EXT_ANT)
print(wifi.antenna() == WLAN.EXT_ANT)
+time.sleep(2) # this ensures a full network scan
scan_r = wifi.scan()
print(len(scan_r) > 3)
for net in scan_r: