tests: Skip test cases that need FILS if CONFIG_FILS=y was not used
fils_offload_to_driver2 and wpas_config_file_key_mgmt require CONFIG_FILS=y, but they did not use check_fils_capa(). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
2d83d224ff
commit
30975951de
2 changed files with 2 additions and 0 deletions
|
@ -2472,6 +2472,7 @@ def test_fils_offload_to_driver(dev, apdev, params):
|
|||
|
||||
def test_fils_offload_to_driver2(dev, apdev, params):
|
||||
"""FILS offload to driver"""
|
||||
check_fils_capa(dev[0])
|
||||
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
||||
wpas.interface_add("wlan5", drv_params="force_connect_cmd=1")
|
||||
run_fils_offload_to_driver(wpas, apdev, params)
|
||||
|
|
|
@ -551,6 +551,7 @@ def test_wpas_config_file_set_global(dev):
|
|||
|
||||
def test_wpas_config_file_key_mgmt(dev, apdev, params):
|
||||
"""wpa_supplicant config file writing and key_mgmt values"""
|
||||
check_fils_capa(dev[0])
|
||||
config = os.path.join(params['logdir'],
|
||||
'wpas_config_file_key_mgmt.conf')
|
||||
if os.path.exists(config):
|
||||
|
|
Loading…
Reference in a new issue