aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2016-04-07 10:31:56 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-24 20:00:44 (GMT)
commit12de787527c6d5bd16e42cbef4351ec7db58ddcc (patch)
tree2af3dbe51fc671831eeafa549ba3a9a5fb741c1c
parentfed0a9f519a99686597e9cc624239b37586d6c4b (diff)
downloadhostap-12de787527c6d5bd16e42cbef4351ec7db58ddcc.zip
hostap-12de787527c6d5bd16e42cbef4351ec7db58ddcc.tar.gz
hostap-12de787527c6d5bd16e42cbef4351ec7db58ddcc.tar.bz2
tests: Fix error message in test_p2ps_connect_p2ps_method_4()
This fixes commit 2f0f69a9ec93e063822628578bceb947cf083918 ('tests: Use p2ps_provision() and p2ps_connect_pd() in p2ps_connect_p2ps_method()'). Signed-off-by: Ilan Peer <ilan.peer@intel.com>
-rw-r--r--tests/hwsim/test_p2ps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hwsim/test_p2ps.py b/tests/hwsim/test_p2ps.py
index 8664ddb..0d47575 100644
--- a/tests/hwsim/test_p2ps.py
+++ b/tests/hwsim/test_p2ps.py
@@ -822,9 +822,9 @@ def test_p2ps_connect_p2ps_method_4(dev):
(grp_ifname0, grp_ifname1, ifnames) = p2ps_connect_p2ps_method(dev)
if not grp_ifname0.startswith('p2p-' + dev[0].ifname + '-'):
- raise Exception("unexpected dev0 group ifname: " + res0['ifname'])
+ raise Exception("unexpected dev0 group ifname: " + grp_ifname0)
if not grp_ifname1.startswith('p2p-' + dev[1].ifname + '-'):
- raise Exception("unexpected dev1 group ifname: " + res1['ifname'])
+ raise Exception("unexpected dev1 group ifname: " + grp_ifname1)
def test_p2ps_connect_adv_go_persistent(dev):
"""P2PS auto-accept connection with advertisement as GO and having persistent group"""