tests: Verify selected registrar clearing on PIN method completion
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
71afe83441
commit
362ba6de98
1 changed files with 6 additions and 0 deletions
|
@ -170,6 +170,12 @@ def test_ap_wps_conf_pin(dev, apdev):
|
|||
if status['key_mgmt'] != 'WPA2-PSK':
|
||||
raise Exception("Unexpected key_mgmt")
|
||||
|
||||
dev[1].request("SET ignore_old_scan_res 1")
|
||||
dev[1].scan(freq="2412")
|
||||
bss = dev[1].get_bss(apdev[0]['bssid'])
|
||||
if "[WPS-AUTH]" in bss['flags']:
|
||||
raise Exception("WPS-AUTH flag not cleared")
|
||||
|
||||
def test_ap_wps_reg_connect(dev, apdev):
|
||||
"""WPS registrar using AP PIN to connect"""
|
||||
ssid = "test-wps-reg-ap-pin"
|
||||
|
|
Loading…
Reference in a new issue