tests: Use apdev[0] more consistently in ap_ht
authorJonathan Afek <jonathan@wizery.com>
Tue, 7 Jun 2016 13:42:41 +0000 (16:42 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jun 2016 18:10:35 +0000 (21:10 +0300)
commit6b4300d0c63a17809a8e8e4025921699c608a075
tree7a1f29470ed55f3fd66920bd5b20533964239f95
parentebc6587d402e031c6d34f70e42e59aebf7a17646
tests: Use apdev[0] more consistently in ap_ht

The test cases ap_ht40_5ghz_invalid_pair and ap_ht40_5ghz_disabled_sec
mixed use of apdev[0] and apdev[1] while only needing a single AP. This
works when both the devices are on the same host (e.g., with
mac80211_hwsim), but not when using separate remote hosts. Fix this by
using apdev[0] more consistently in these test cases.

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