From: Ben Rosenfeld Date: Tue, 5 May 2015 09:36:50 +0000 (+0300) Subject: tests: Change p2p_set_ssid_postfix to use the group interface for SSID X-Git-Tag: hostap_2_5~736 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d348327326d2bc3e91f25b4e1801b1d7ee08d6;p=thirdparty%2Fhostap.git tests: Change p2p_set_ssid_postfix to use the group interface for SSID This is required for cases where thea P2P Device interface is used. Signed-off-by: Ben Rosenfeld --- diff --git a/tests/hwsim/test_p2p_set.py b/tests/hwsim/test_p2p_set.py index 9eadd3fa4..eb3b263c7 100644 --- a/tests/hwsim/test_p2p_set.py +++ b/tests/hwsim/test_p2p_set.py @@ -113,9 +113,9 @@ def test_p2p_set_ssid_postfix(dev): pin = dev[1].wps_read_pin() dev[0].p2p_go_authorize_client(pin) dev[1].p2p_connect_group(addr0, pin, timeout=20, social=True, freq="2412") - if postfix not in dev[1].get_status_field("ssid"): + if postfix not in dev[1].get_group_status_field("ssid"): raise Exception("SSID postfix missing from status") - if postfix not in dev[1].request("SCAN_RESULTS"): + if postfix not in dev[1].group_request("SCAN_RESULTS"): raise Exception("SSID postfix missing from scan results") finally: dev[0].request("P2P_SET ssid_postfix ")