brcmfmac: support creation of P2P_DEVICE through user-space
authorArend van Spriel <arend@broadcom.com>
Fri, 5 Apr 2013 08:57:50 +0000 (10:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Apr 2013 19:28:46 +0000 (15:28 -0400)
commit27f10e380ad912c7928e08c4d04b246e66022cc4
tree93f8f52d32db0e78e5821e1dedfabb234b17d9e4
parenta0f472aca2ff1d241afc5ac1e804b50b5f3be6a4
brcmfmac: support creation of P2P_DEVICE through user-space

The current driver code creates a P2P_DEVICE through a module
parameter. This device has a dummy netdevice which is not how this
interface type is intended. This patch add proper support for the
P2P_DEVICE interface type. This requires a wpa_supplicant with such
support as well.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/p2p.c
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c