brcmfmac: assure P2P discovery is disabled when setting P2P_DEVICE mac address
authorArend van Spriel <arend@broadcom.com>
Tue, 30 Sep 2014 08:23:16 +0000 (10:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:47 +0000 (13:17 -0400)
commitf48556e1b6a60f1b394a6c4b0a7b8cacba3eb107
tree76011bfa052b4210ed990d7ce6790f59499e877b
parent3ba066109974dff307f143ffdeddc7af83b2bb8e
brcmfmac: assure P2P discovery is disabled when setting P2P_DEVICE mac address

In order to provision the P2P_DEVICE mac address using p2p_da_override iovar
the discovery interface must be disabled. On some targets setting the mac
address failed so disable the discovery interface to be certain.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@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