P2P: Skip non-P2P interface in p2p_group_remove *
authorIlan Peer <ilan.peer@intel.com>
Sun, 25 Aug 2013 08:17:14 +0000 (11:17 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 25 Aug 2013 08:17:14 +0000 (11:17 +0300)
commitd99ca89d987e6bd28dbe37b4c6ff8b6168390627
treeb24116bf90b38aaad0c5e99e86bd31999102d67d
parent239abaf2ab42fc84217533308caf3da7cd0a0950
P2P: Skip non-P2P interface in p2p_group_remove *

When 'p2p_group_remove *' is called while the station interface
is connected, the flow also disconnects the station interface.
Fix this by skipping non-P2P interfaces in the iteration.

Signed-hostap: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/p2p_supplicant.c