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 <j@w1.fi>
This commit is contained in:
parent
36e6633415
commit
38ad1ea317
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue