tests: Make scan and scan_only more robust
authorJouni Malinen <j@w1.fi>
Wed, 14 May 2014 09:54:13 +0000 (12:54 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 13:56:49 +0000 (16:56 +0300)
commit814f7ac85c68010a9643e59491060f3fd1426500
treeb7bfdae0334942ce60cddeea7c4705340fc8f058
parent42216792338265f88829575e49e7e9b35fcf32f0
tests: Make scan and scan_only more robust

These can fail during heavy CPU load due to active scan dwell time not
being long enough to catch the delayed Probe Response frame from the AP.
Work around this by allowing multiple scan attempts to see the response.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_scan.py