]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: P2P_SERVICE_DEL asp all
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 20 Mar 2015 13:32:30 +0000 (15:32 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 20 Mar 2015 13:56:59 +0000 (15:56 +0200)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_p2ps.py

index 9e8cd42571b72271f72fade0fa20a102e7355919..0f96b3df2a757bb23ad6684bb330d7ab9152e64c 100644 (file)
@@ -737,6 +737,10 @@ def test_p2ps_service_discovery_multiple_queries(dev):
     if ev4 is None:
         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'"):
         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'"):