mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-02 20:28:24 -05:00
tests: Verify wpa_state after INTERWORKING_SELECT
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
15aa804285
commit
58a5c4ae77
@ -186,6 +186,9 @@ def test_ap_anqp_sharing(dev, apdev):
|
|||||||
dev[0].scan_for_bss(bssid2, freq="2412")
|
dev[0].scan_for_bss(bssid2, freq="2412")
|
||||||
interworking_select(dev[0], None, "home", freq="2412")
|
interworking_select(dev[0], None, "home", freq="2412")
|
||||||
dev[0].dump_monitor()
|
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"))
|
logger.debug("BSS entries:\n" + dev[0].request("BSS RANGE=ALL"))
|
||||||
res1 = dev[0].get_bss(bssid)
|
res1 = dev[0].get_bss(bssid)
|
||||||
|
Loading…
Reference in New Issue
Block a user