tests: P2P_SERVICE_DEL asp all
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
e9d280503a
commit
898c959a6f
1 changed files with 4 additions and 0 deletions
|
@ -737,6 +737,10 @@ def test_p2ps_service_discovery_multiple_queries(dev):
|
||||||
if ev4 is None:
|
if ev4 is None:
|
||||||
raise Exception("Unable to remove the advertisement instance")
|
raise Exception("Unable to remove the advertisement instance")
|
||||||
|
|
||||||
|
if "OK" not in dev[0].global_request("P2P_SERVICE_ADD asp 1 12345678 1 1108 org.wi-fi.wfds.foobar svc_info='Test'"):
|
||||||
|
raise Exception("P2P_SERVICE_ADD failed")
|
||||||
|
if "OK" not in dev[0].global_request("P2P_SERVICE_DEL asp all"):
|
||||||
|
raise Exception("P2P_SERVICE_DEL asp all failed")
|
||||||
if "OK" not in dev[0].global_request("P2P_SERVICE_ADD asp 1 12345678 1 1108 org.wi-fi.wfds.foobar svc_info='Test'"):
|
if "OK" not in dev[0].global_request("P2P_SERVICE_ADD asp 1 12345678 1 1108 org.wi-fi.wfds.foobar svc_info='Test'"):
|
||||||
raise Exception("P2P_SERVICE_ADD failed")
|
raise Exception("P2P_SERVICE_ADD failed")
|
||||||
if "OK" not in dev[0].global_request("P2P_SERVICE_REP asp 1 12345678 1 1108 org.wi-fi.wfds.foobar svc_info='Test'"):
|
if "OK" not in dev[0].global_request("P2P_SERVICE_REP asp 1 12345678 1 1108 org.wi-fi.wfds.foobar svc_info='Test'"):
|
||||||
|
|
Loading…
Reference in a new issue