P2P: Allow P2P functionality to be disabled per interface
authorSreenath Sharma <sreenats@broadcom.com>
Sat, 31 Aug 2013 08:59:05 +0000 (11:59 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 31 Aug 2013 08:59:05 +0000 (11:59 +0300)
commitf2b3f4de49606a6e21c46fb6d85e262ad3ce88a7
tree10dcae9ccabe4bc755fc76fc5919c3442c99edda
parent846be8897550bf1aea75dcc8d411d9669bb41a9f
P2P: Allow P2P functionality to be disabled per interface

By default, P2P is initialized for all driver interfaces and this makes
P2P getting initialized for non-P2P station interface if the supplicant
is started first on this interface. If an interface is dedicated for
non-P2P station mode, it is now possible to disable P2P initialization
by adding 'p2p_disabled=1' in the configuration file of non-P2P station
interface, irrespective of the order in which supplicant is started.

Signed-hostap: Sreenath Sharma <sreenats@broadcom.com>
wpa_supplicant/p2p_supplicant.c