P2P: Clear groups first on FLUSH command
authorJouni Malinen <j@w1.fi>
Wed, 6 Jan 2016 16:49:15 +0000 (18:49 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 6 Jan 2016 16:49:15 +0000 (18:49 +0200)
commit1d20c66e45c8b17cbdbb161c663fb3d2914ce80e
treeef688bc2dcb3ada6690d244e7b265a9a8af536b6
parent27446e471c5e08913e8230b90ffc6c2a5659d10a
P2P: Clear groups first on FLUSH command

This is needed to get proper P2P group removal processing for some test
cases. discovery_group_client followed by nfc_p2p_client was able to hit
a case where the P2P group idle timeout survived to the next group
instance because of the FLUSH command not clearing the group and this
timeout properly.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c