[PATCH 10/14] tests: Modify nfc_p2p_go_neg_ip_pool_oom() test

Ilan Peer ilan.peer
Wed Oct 14 08:43:16 PDT 2015


From: Avraham Stern <avraham.stern at intel.com>

Use the global control interface to get the configured P2P GO IP
address to support configurations that use a dedicated
P2P Device interface.

Signed-off-by: Avraham Stern <avraham.stern at intel.com>
---
 tests/hwsim/test_nfc_p2p.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/hwsim/test_nfc_p2p.py b/tests/hwsim/test_nfc_p2p.py
index 7b5ddae..57aafd7 100644
--- a/tests/hwsim/test_nfc_p2p.py
+++ b/tests/hwsim/test_nfc_p2p.py
@@ -87,7 +87,7 @@ def test_nfc_p2p_go_neg(dev):
 def test_nfc_p2p_go_neg_ip_pool_oom(dev):
     """NFC connection handover to form a new P2P group and IP pool OOM"""
     set_ip_addr_info(dev[0])
-    ip = dev[0].request("GET ip_addr_go")
+    ip = dev[0].global_request("GET ip_addr_go")
     if ip != "192.168.42.1":
         raise Exception("Unexpected ip_addr_go returned: " + ip)
     dev[0].global_request("SET p2p_go_intent 10")
-- 
1.9.1




More information about the Hostap mailing list