P2P: Do not create a P2P Device interface if P2P is disabled
authorIlan Peer <ilan.peer@intel.com>
Wed, 22 Apr 2015 10:13:18 +0000 (13:13 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Apr 2015 22:22:15 +0000 (01:22 +0300)
commit74802c0936a1eea08a0df988174c3e76a5c553f7
tree6d5dc7ee6a6b2517db9127adf43d349298c12663
parent579674ebe5989eaf8663a431f8f2a8f490a15906
P2P: Do not create a P2P Device interface if P2P is disabled

Do not add the dedicated P2P Device interface in case P2P is disabled in
the configuration file or globally.

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