From: Jouni Malinen Date: Sun, 7 Dec 2014 15:57:28 +0000 (+0200) Subject: tests: IBSS_RSN control interface command X-Git-Tag: hostap_2_4~895 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed685e43abaf6f5af0226f408ec18eca2fadbc76;p=thirdparty%2Fhostap.git 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 --- 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"