]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix p2p_channel_random_social_with_op_class_change cleanup
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 28 Nov 2014 13:54:08 +0000 (15:54 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 28 Nov 2014 21:02:29 +0000 (23:02 +0200)
commit6ea5e19898f8f8e924407ddbbea40be7ac3d71f5
treedd0bdb123001390b55016bf47d4a89cc426d328d
parentc932b43e5666b19b086802d361891bd910df4144
tests: Fix p2p_channel_random_social_with_op_class_change cleanup

p2p_oper_reg_class and p2p_oper_channel need to be restored to 0, not an
arbitrary 2.4 GHz channel to avoid issues for following test cases. For
example, p2p_channel_random_social_with_op_class_change followed by
p2p_autogo_pref_chan_not_in_regulatory ended up with the latter test
case failing.

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