tests: P2P broadcast SD query canceling
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
147766571e
commit
546735476a
1 changed files with 4 additions and 0 deletions
|
@ -183,3 +183,7 @@ def test_p2p_service_discovery_req_cancel(dev):
|
||||||
raise Exception("Unexpected SD cancel failure")
|
raise Exception("Unexpected SD cancel failure")
|
||||||
if "OK" not in dev[0].request("P2P_SERV_DISC_CANCEL_REQ " + query3):
|
if "OK" not in dev[0].request("P2P_SERV_DISC_CANCEL_REQ " + query3):
|
||||||
raise Exception("Unexpected SD cancel failure")
|
raise Exception("Unexpected SD cancel failure")
|
||||||
|
|
||||||
|
query = dev[0].request("P2P_SERV_DISC_REQ 00:00:00:00:00:00 02000001")
|
||||||
|
if "OK" not in dev[0].request("P2P_SERV_DISC_CANCEL_REQ " + query):
|
||||||
|
raise Exception("Unexpected SD(broadcast) cancel failure")
|
||||||
|
|
Loading…
Reference in a new issue