From: Jouni Malinen Date: Sun, 23 Mar 2014 10:11:55 +0000 (+0200) Subject: tests: P2P broadcast SD query canceling X-Git-Tag: hostap_2_2~476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=546735476af8c6dd15deb5b85b72833537e54619;p=thirdparty%2Fhostap.git tests: P2P broadcast SD query canceling Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_p2p_service.py b/tests/hwsim/test_p2p_service.py index a625f0515..ed9c14589 100644 --- a/tests/hwsim/test_p2p_service.py +++ b/tests/hwsim/test_p2p_service.py @@ -183,3 +183,7 @@ def test_p2p_service_discovery_req_cancel(dev): raise Exception("Unexpected SD cancel failure") if "OK" not in dev[0].request("P2P_SERV_DISC_CANCEL_REQ " + query3): 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")