diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2015-12-31 20:38:55 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-12-31 20:41:21 (GMT) |
commit | e4ab0d90341397ee5884e8dce5a689982c3b8f1b (patch) | |
tree | 33c8f0b8a38017d71a8b9db5c8f3c6dbd1cf3b42 /tests | |
parent | d7c3347f595f2b75b4e5a93c7219539779b6d1e1 (diff) | |
download | hostap-e4ab0d90341397ee5884e8dce5a689982c3b8f1b.zip hostap-e4ab0d90341397ee5884e8dce5a689982c3b8f1b.tar.gz hostap-e4ab0d90341397ee5884e8dce5a689982c3b8f1b.tar.bz2 |
tests: Do not dump pending events in p2p_go_neg_init timeout=0 case
It was possible for the dump_monitor() call to drop a P2P-GO-NEG-FAILURE
event that was indicated quickly after the P2P_CONNECT command was
issued. This could result in grpform_reject test case failing to see the
expected event and fail the test due to "Rejection not reported".
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hwsim/wpasupplicant.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 9b0b4ae..42bca46 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -619,7 +619,6 @@ class WpaSupplicant: cmd = cmd + " provdisc" if "OK" in self.global_request(cmd): if timeout == 0: - self.dump_monitor() return None go_neg_res = None ev = self.wait_global_event(["P2P-GO-NEG-SUCCESS", |