[PATCH 02/17] tests: change p2p_set_ssid_postfix() to use the group interface to get the ssid
Ilan Peer
ilan.peer
Tue May 5 02:36:50 PDT 2015
From: Ben Rosenfeld <ben.rosenfeld at intel.com>
This is required for cases that a P2P Device interface is used.
Signed-off-by: Ben Rosenfeld <ben.rosenfeld at intel.com>
---
tests/hwsim/test_p2p_set.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/hwsim/test_p2p_set.py b/tests/hwsim/test_p2p_set.py
index 9eadd3f..8421b87 100644
--- a/tests/hwsim/test_p2p_set.py
+++ b/tests/hwsim/test_p2p_set.py
@@ -113,7 +113,7 @@ 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"):
raise Exception("SSID postfix missing from scan results")
--
1.9.1
More information about the Hostap
mailing list