tests: Setup wlantest once for qosmap tests
authorJonathan Afek <jonathan@wizery.com>
Wed, 13 Jul 2016 17:06:05 +0000 (20:06 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 17 Sep 2016 19:14:06 +0000 (22:14 +0300)
commit44a4c52c86bed6ee69b132b1edbd4a619c1efe0e
treeaf41c2b2af9f387960d36b11e153f387c0fe6bae
parentc7ca843d05e36f9780b62afa6b45f02af8263534
tests: Setup wlantest once for qosmap tests

Some tests call the check_qos_map() function more than once. Make sure
each test sets up wlantest only once before the first time the function
is called.

The wlantest setup sets the channel for the wlantest interface and
executes the wlantest executable. It is more efficient to do that only
once for each test.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
tests/hwsim/test_ap_qosmap.py