Browse Source

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>
Li Zhijian 7 years ago
parent
commit
783bf87144
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/hwsim/test_rrm.py

+ 1 - 0
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)