From: Ben Rosenfeld Date: Tue, 5 May 2015 09:37:05 +0000 (+0300) Subject: tests: Change p2p_device_nfc_invite to use global interface X-Git-Tag: hostap_2_5~729 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5d768b3367789da20ba35c59412e75671a25be;p=thirdparty%2Fhostap.git tests: Change p2p_device_nfc_invite to use global interface When testing P2P invitation flow, setting the NFC selector should be done using the global control interface. Signed-off-by: Ben Rosenfeld --- diff --git a/tests/hwsim/test_p2p_device.py b/tests/hwsim/test_p2p_device.py index cc4edca0b..c7e62992d 100644 --- a/tests/hwsim/test_p2p_device.py +++ b/tests/hwsim/test_p2p_device.py @@ -107,7 +107,7 @@ def test_p2p_device_nfc_invite(dev, apdev): raise Exception("Failed to generate NFC connection handover select") logger.info("Read NFC Tag on the GO to trigger invitation") - res = dev[0].request("WPS_NFC_TAG_READ " + sel) + res = dev[0].global_request("WPS_NFC_TAG_READ " + sel) if "FAIL" in res: raise Exception("Failed to provide NFC tag contents to wpa_supplicant")