tests: Write BSS table to debug log in ap_mixed_security
This makes it easier to debug test failures in BSS entry flags field. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7e3a6c9e21
commit
3dacd58b0d
1 changed files with 2 additions and 0 deletions
|
@ -32,7 +32,9 @@ def test_ap_mixed_security(dev, apdev):
|
|||
if sae:
|
||||
dev[2].connect(ssid, psk=passphrase, key_mgmt="SAE", scan_freq="2412")
|
||||
|
||||
logger.debug(dev[0].request("SCAN_RESULTS"))
|
||||
bss = dev[0].get_bss(apdev[0]['bssid'])
|
||||
logger.debug(bss)
|
||||
if "[WPA-EAP+PSK-TKIP]" not in bss['flags']:
|
||||
raise Exception("Unexpected flags (WPA): " + bss['flags'])
|
||||
if sae and "[WPA2-EAP+PSK+SAE+FT/EAP+FT/PSK+FT/SAE+EAP-SHA256+PSK-SHA256-CCMP]" not in bss['flags']:
|
||||
|
|
Loading…
Reference in a new issue