]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix wifi_display_persistent_group event checks
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 18 Dec 2014 14:18:54 +0000 (16:18 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 18 Dec 2014 14:41:40 +0000 (16:41 +0200)
commitdb1d66d879f951c0a5ce342f5fada45c8d4edacf
tree396dc0dd4ee6b88e84d867e3bbb062f5f6aed2b8
parentc8836a4f037d778be02b41a81635c594bca87604
tests: Fix wifi_display_persistent_group event checks

The final invitation case in this test was verified incorrectly. The GO
was already operatign in that case, so there was not supposed to be a
new P2P-GROUP-STARTED message from GO. That happened to be show up in
the pending event messages from the last instance, but that was just by
accident and any additional dump_monitor() operation added here would
cause this test to fail. Fix this by handling the final invitation
separately and verifying that only the client side indicates
P2P-GROUP-STARTED.

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