From: Jouni Malinen Date: Sat, 17 Jan 2015 15:19:32 +0000 (+0200) Subject: tests: Write BSS table to debug log in ap_mixed_security X-Git-Tag: hostap_2_4~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dacd58b0d7ae0cb8e1779c7fd5742de6df64deb;p=thirdparty%2Fhostap.git 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 --- diff --git a/tests/hwsim/test_ap_mixed.py b/tests/hwsim/test_ap_mixed.py index 4121f02d3..9f0db32ee 100644 --- a/tests/hwsim/test_ap_mixed.py +++ b/tests/hwsim/test_ap_mixed.py @@ -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']: