tests: Verify wpa_state after INTERWORKING_SELECT

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-12-11 19:51:09 +02:00
parent 15aa804285
commit 58a5c4ae77

View file

@ -186,6 +186,9 @@ def test_ap_anqp_sharing(dev, apdev):
dev[0].scan_for_bss(bssid2, freq="2412")
interworking_select(dev[0], None, "home", freq="2412")
dev[0].dump_monitor()
state = dev[0].get_status_field('wpa_state')
if state != "DISCONNECTED":
raise Exception("Unexpected wpa_state after INTERWORKING_SELECT: " + state)
logger.debug("BSS entries:\n" + dev[0].request("BSS RANGE=ALL"))
res1 = dev[0].get_bss(bssid)