From 7387532549cf5a4f5b7e79aa17250c9037b8d311 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 10 Dec 2014 23:47:04 +0200 Subject: [PATCH] tests: Additional coverage for P2P_EXT_LISTEN Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_grpform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_p2p_grpform.py b/tests/hwsim/test_p2p_grpform.py index c27eaeb67..86070e33c 100644 --- a/tests/hwsim/test_p2p_grpform.py +++ b/tests/hwsim/test_p2p_grpform.py @@ -254,6 +254,8 @@ def test_grpform_pd(dev): def test_grpform_ext_listen(dev): """P2P group formation with extended listen timing enabled""" try: + if "FAIL" not in dev[0].global_request("P2P_EXT_LISTEN 100"): + raise Exception("Invalid P2P_EXT_LISTEN accepted") if "OK" not in dev[0].global_request("P2P_EXT_LISTEN 100 50000"): raise Exception("Failed to set extended listen timing") if "OK" not in dev[1].global_request("P2P_EXT_LISTEN 200 40000"):