P2P: Create P2P Device interface if supported
authorArend van Spriel <arend@broadcom.com>
Sun, 30 Jun 2013 07:17:47 +0000 (10:17 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Jun 2013 07:50:14 +0000 (10:50 +0300)
commitc68f6200a72f2b33304f583859b09e57757b9d2a
treebc33281faf4a1fcefe0c513b6d65c8b609c95d8b
parent851b0c5581069de6db01ddca7c150b76cee415a2
P2P: Create P2P Device interface if supported

If the capability flag of the driver indicates a dedicated P2P Device is
supported, a P2P Device interface is created.

Create the P2P Device in main interface creation loop when the added
interface flags support and P2P supplicant is not yet initialized
avoiding recursion of add_interface.

Do not register l2_packet for P2P Device interface (both for EAPOL and
for TDLS).

Signed-hostap: Arend van Spriel <arend@broadcom.com>
wpa_supplicant/main.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h