]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Wait for driver scan state to clear between tests
authorJouni Malinen <j@w1.fi>
Sat, 28 Sep 2013 14:31:54 +0000 (17:31 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 Sep 2013 15:18:33 +0000 (18:18 +0300)
commit6ca3a98bc2c9e298a738e0690b8654281fafdb85
treecac1526ecf8fa7f77f288838844afe99632dc22f
parenta771c07dfc621c5fdd1483643fcc467d760d5e9d
tests: Wait for driver scan state to clear between tests

cfg80211/mac80211 seems to getting stuck with scans every now and then.
Check for this special state and delay return from reset() until the
driver has stopped the scan operation. This reduces likelihood of
failing multiple test cases in a row because of a single error.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/wpasupplicant.py