diff mbox

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

Message ID 1444837400-17309-11-git-send-email-ilan.peer@intel.com
State Changes Requested
Headers show

Commit Message

Ilan Peer Oct. 14, 2015, 3:43 p.m. UTC
From: Avraham Stern <avraham.stern@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@intel.com>
---
 tests/hwsim/test_nfc_p2p.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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")