]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix p2p_go_move_scm_peer_does_not_support to clear avoid freqs
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 30 Nov 2015 20:06:54 +0000 (22:06 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 30 Nov 2015 20:06:54 +0000 (22:06 +0200)
commit34b164dd25b6ee972b1cd4170f2943edb5907b5e
tree0d23be60e2130bc2b27c523a11b8bb59bf01331b
parent53b2100a3f0a0200a652b60e2ec43aba7b17c09f
tests: Fix p2p_go_move_scm_peer_does_not_support to clear avoid freqs

The P2P channel list on dev[1] at the end of
p2p_go_move_scm_peer_does_not_support was empty because all of the 2.4
GHz band got disabled by the simulated avoid frequencies driver event.
That channel list needs to be cleared prior to resetting regulatory
domain back to world roaming to get the P2P channel list updated
properly for the following test cases.

This was triggered by the following test case sequence:
p2p_go_move_scm_peer_does_not_support persistent_group_and_role_change

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