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>
This commit is contained in:
parent
b62d0544c5
commit
783bf87144
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ from wpasupplicant import WpaSupplicant
|
||||||
from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger
|
from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger
|
||||||
from test_ap_ht import clear_scan_cache
|
from test_ap_ht import clear_scan_cache
|
||||||
from remotehost import remote_compatible
|
from remotehost import remote_compatible
|
||||||
|
from test_ap_vht import vht_supported
|
||||||
|
|
||||||
def check_rrm_support(dev):
|
def check_rrm_support(dev):
|
||||||
rrm = int(dev.get_driver_status_field("capa.rrm_flags"), 16)
|
rrm = int(dev.get_driver_status_field("capa.rrm_flags"), 16)
|
||||||
|
|
Loading…
Reference in a new issue