tests: Fix autogo_ht_vht false negative by using common finalizer

autogo_ht_vht fails with this message.

---------------
wlan0: Country code not reset back to 00: is US
wlan0: Country code cleared back to 00
---------------

This patch fixes the issue.

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma 2019-06-25 10:51:05 +09:00 committed by Jouni Malinen
parent e6c82d450e
commit b8a868594a

View file

@ -649,7 +649,7 @@ def test_autogo_ht_vht(dev):
set_country("US", dev[0])
_test_autogo_ht_vht(dev)
finally:
set_country("00")
clear_regdom_dev(dev)
def test_p2p_listen_chan_optimize(dev, apdev):
"""P2P listen channel optimization"""