brcmfmac: Fix p2p setup when connected to ap on 5G.
authorHante Meuleman <meuleman@broadcom.com>
Mon, 27 May 2013 19:09:54 +0000 (21:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 May 2013 17:43:08 +0000 (13:43 -0400)
commit15a953d0919e3e7c94691ecabd0d9f74373f19aa
tree799d3649ed954edd8c37ad4f347634470be6cd9c
parentb3657453f16a7b84eab9b93bb9a9a2901ffc70af
brcmfmac: Fix p2p setup when connected to ap on 5G.

The firmware requires that on p2p setup when net interfaces
are created or updated that they start initially with the same
channel as the channel in use for the current connection
(if any). If none exists take default channel 11.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-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