aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@cn.fujitsu.com>2017-06-02 03:56:18 (GMT)
committerJouni Malinen <j@w1.fi>2017-09-10 18:54:38 (GMT)
commit783bf87144eca42ff5f75a6532c871bd734214da (patch)
treef93feaf1177cd5525ebb372f52985e60fdcb6d49 /tests
parentb62d0544c53f3d12821d39e0dcaa0bb7ead08284 (diff)
downloadhostap-783bf87144eca42ff5f75a6532c871bd734214da.zip
hostap-783bf87144eca42ff5f75a6532c871bd734214da.tar.gz
hostap-783bf87144eca42ff5f75a6532c871bd734214da.tar.bz2
tests: Fix missing function on some rrm test case error paths
Import vht_supported from test_ap_vht to fix the following issue: rrm_beacon_req_table_vht run failed: global name 'vht_supported' is not defined Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_rrm.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py
index 7beacf9..eb1b67b 100644
--- a/tests/hwsim/test_rrm.py
+++ b/tests/hwsim/test_rrm.py
@@ -19,6 +19,7 @@ from wpasupplicant import WpaSupplicant
from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger
from test_ap_ht import clear_scan_cache
from remotehost import remote_compatible
+from test_ap_vht import vht_supported
def check_rrm_support(dev):
rrm = int(dev.get_driver_status_field("capa.rrm_flags"), 16)