aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2016-04-07 10:31:58 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-24 20:13:14 (GMT)
commitd43fc7c6b0232693e84f4b7ccd3665f90afb87c1 (patch)
treead1fa7009e6c232d6fb404805f42ad7b48179234 /tests
parenta7efe6c386a885f546e8f5e6e2a66cfb7e1ddd6f (diff)
downloadhostap-d43fc7c6b0232693e84f4b7ccd3665f90afb87c1.zip
hostap-d43fc7c6b0232693e84f4b7ccd3665f90afb87c1.tar.gz
hostap-d43fc7c6b0232693e84f4b7ccd3665f90afb87c1.tar.bz2
tests: Modify p2p_msg_long_ssid to support P2P Device interface
Waiting for the P2P-DEVICE-FOUND event should be done on the global control interface to support configurations that use a dedicated P2P Device interface. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_p2p_messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hwsim/test_p2p_messages.py b/tests/hwsim/test_p2p_messages.py
index b10814e..1c42654 100644
--- a/tests/hwsim/test_p2p_messages.py
+++ b/tests/hwsim/test_p2p_messages.py
@@ -240,7 +240,7 @@ def test_p2p_msg_long_ssid(dev, apdev):
msg['payload'] += ie_p2p(attrs)
msg['payload'] += ie_ssid(255 * 'A')
hapd.mgmt_tx(msg)
- ev = dev[0].wait_event(["P2P-DEVICE-FOUND"], timeout=5)
+ ev = dev[0].wait_global_event(["P2P-DEVICE-FOUND"], timeout=5)
if ev is None:
raise Exception("Timeout on device found event")