tests: Optimize scanning in wpa_supplicant-as-AP test case
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 25 Mar 2014 13:08:07 +0000 (15:08 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Mar 2014 13:09:34 +0000 (15:09 +0200)
commit9905de312927bb631f632c3a6ae231f6666eece1
treea45b3c4007639924020e84469b856a40ebfdc7b3
parent4d1e38be9e833c4040243d101d34c8ded4b949e1
tests: Optimize scanning in wpa_supplicant-as-AP test case

Wait for the AP to be ready before initiating the scan to avoid
unnecessary five second extra wait. In addition, disconnect the station
to avoid possibility of starting a new scan at the end of the test case.
These remove unnecessary wait time from the test cases.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_wpas_ap.py