P2P: Use the correct wpa_s interface to handle P2P state flush
authorIlan Peer <ilan.peer@intel.com>
Mon, 19 Jan 2015 01:44:10 +0000 (20:44 -0500)
committerJouni Malinen <j@w1.fi>
Mon, 19 Jan 2015 23:57:59 +0000 (01:57 +0200)
commit7e608d1def0b3b2304f26f89faaac4aabaca6914
tree5fbf4d20024c229b981da0da9dcb07bc542b6994
parentfd83335f2964a451273e45921fd51856845c2ad3
P2P: Use the correct wpa_s interface to handle P2P state flush

A control interface call to flush the current state used the
current wpa_s to clear the P2P state even though it might not
be the interface controlling the P2P state.

Fix it by using the correct interface to flush the P2P state.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/ctrl_iface.c