P2P: Use the P2P Device management interface in wpas_p2p_remove_client()
authorBen Rosenfeld <ben.rosenfeld@intel.com>
Tue, 12 May 2015 14:39:57 +0000 (17:39 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 25 May 2015 15:31:09 +0000 (18:31 +0300)
commit43677494fbdcb672ec5e0e6c05f319e2128e665a
tree390c689e56c235bdac7f672c39e49764c0a3ebe5
parent571a1af270269f0e942cdf9eb0c23fc842007939
P2P: Use the P2P Device management interface in wpas_p2p_remove_client()

As wpas_p2p_remove_client() is not necessarily called from the interface
used to manage the P2P Device operations, when removing a client, use
the P2P management interface to iterate over the saved networks and
remove the relevant entries form the P2P GO network blocks.

Signed-off-by: Ben Rosenfeld <ben.rosenfeld@intel.com>
wpa_supplicant/p2p_supplicant.c