P2P: Do not enable P2P group processing for non-P2P AP mode
authorJouni Malinen <j@w1.fi>
Sat, 14 May 2016 16:39:10 +0000 (19:39 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 14 May 2016 16:43:30 +0000 (19:43 +0300)
commitad6cee3fa04103e4b7155efc0da593d155e05c34
tree0ba2eff1bfe22cb2eb1e1f249eb02f8dfa0f0621
parent50d06776c6c638121e9630ef9cde7a477b04563d
P2P: Do not enable P2P group processing for non-P2P AP mode

wpa_supplicant was starting P2P group processing for all AP mode
interfaces in CONFIG_P2P=y builds. This is unnecessary and such
operations should be enabled only for actual GO interfaces.

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