]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Force diff chan in p2ps_channel_active_go_and_station_different_mcc
authorJouni Malinen <j@w1.fi>
Sun, 17 Feb 2019 14:55:50 +0000 (16:55 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Feb 2019 14:55:50 +0000 (16:55 +0200)
commitcf4643aa7d8139eb431439bd628c4cf3dee7a535
treed7aeed62a5ae5b11e95d41829b9cc9a7da263dd3
parent947b5a1532f95347d34f0dc79d602402975eca3d
tests: Force diff chan in p2ps_channel_active_go_and_station_different_mcc

This test case was failing pretty frequently due to an issue in being
able to send out the Provision Discovery Response frame on the operating
channel. Now that wpa_supplicant has a fix for that issue, modify this
test case to hit this error condition every time. In addition, make sure
the possible exception from p2ps_exact_seek() does not get hidden with a
failing remove_group() call in the finally section.

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