From 38ad1ea317835e520d6da0ee1b5dd8843e573b85 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 8 May 2015 18:21:54 +0300 Subject: [PATCH] tests: Fix persistent_group_per_sta_psk for P2P Device case The dev[1] <--> dev[2] data connectivity test was using incorrect function. dev[2] is also using a P2P group and as such, can have a different group interface. Signed-off-by: Jouni Malinen --- tests/hwsim/test_p2p_persistent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_persistent.py b/tests/hwsim/test_p2p_persistent.py index eaf42335c..c2689af22 100644 --- a/tests/hwsim/test_p2p_persistent.py +++ b/tests/hwsim/test_p2p_persistent.py @@ -190,7 +190,7 @@ def test_persistent_group_per_sta_psk(dev): raise Exception("Joining client did not recognize persistent group") if r_res['psk'] == c_res['psk']: raise Exception("Same PSK assigned for both clients") - hwsim_utils.test_connectivity_p2p_sta(dev[1], dev[2]) + hwsim_utils.test_connectivity_p2p(dev[1], dev[2]) logger.info("Remove persistent group and re-start it manually") dev[0].remove_group()