tests: IBSS_RSN control interface command

This verifies that IBSS_RSN <peer> return OK for the case where a valid
and already connection peer address is given.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-12-07 17:57:28 +02:00
parent 8e33f9c67f
commit ed685e43ab

View file

@ -128,6 +128,9 @@ def test_ibss_rsn(dev):
time.sleep(3) time.sleep(3)
hwsim_utils.test_connectivity(dev[0], dev[1]) 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): def test_ibss_wpa_none(dev):
"""IBSS WPA-None""" """IBSS WPA-None"""
ssid="ibss-wpa-none" ssid="ibss-wpa-none"