tests: Fix ap_track_taxonomy to clear country code setting
authorJouni Malinen <j@w1.fi>
Fri, 30 Sep 2016 20:46:17 +0000 (23:46 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 30 Sep 2016 20:46:17 +0000 (23:46 +0300)
commitd57ca5cd458dd43bc1015c306c140363ec93889f
tree1dc43602dc0396fa64b7b84501200e90327ac81a
parentebf59eb549827ecfb7a42281721a1af9cfa0d7a1
tests: Fix ap_track_taxonomy to clear country code setting

This test case could have ended with the station devices still in US
regulatory domain and that could make a following test case fail in some
sequences. For example, "ap_track_taxonomy ibss_5ghz" sequence made
ibss_5ghz fail to see the regdom change event since there was not one
due to the US country code already being in use at the beginning of the
test case. Fix this by clearing the country code at the end of
ap_track_taxonomy.

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