From ed685e43abaf6f5af0226f408ec18eca2fadbc76 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 7 Dec 2014 17:57:28 +0200 Subject: [PATCH] tests: IBSS_RSN control interface command This verifies that IBSS_RSN return OK for the case where a valid and already connection peer address is given. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ibss.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/hwsim/test_ibss.py b/tests/hwsim/test_ibss.py index cc767073d..fd5c32dae 100644 --- a/tests/hwsim/test_ibss.py +++ b/tests/hwsim/test_ibss.py @@ -128,6 +128,9 @@ def test_ibss_rsn(dev): time.sleep(3) hwsim_utils.test_connectivity(dev[0], dev[1]) + if "OK" not in dev[0].request("IBSS_RSN " + dev[1].p2p_interface_addr()): + raise Exception("IBSS_RSN command failed") + def test_ibss_wpa_none(dev): """IBSS WPA-None""" ssid="ibss-wpa-none"