P2P: Remove all child interfaces when removing the parent
authorJouni Malinen <j@w1.fi>
Mon, 20 Oct 2014 09:40:29 +0000 (12:40 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 21 Oct 2014 14:35:15 +0000 (17:35 +0300)
commit26fc96e89b9f0ecd16e1ecbdc41a375b2cc752a7
treec7847726dcafcc9f50f5850da5f36cdfbce28d2f
parenteb92d389a8c3c5d84b4af2513f6e5908ecdec1e5
P2P: Remove all child interfaces when removing the parent

This is needed to allow dynamic removal of an interface that adds the
P2P Device interface without leaving behind the management interface
with invalid wpa_s->parent pointer.

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