brcmfmac: make scheduled scan support conditional
authorArend van Spriel <arend@broadcom.com>
Tue, 14 Apr 2015 18:10:27 +0000 (20:10 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:26:50 +0000 (16:26 +0300)
commit7a7a87dc947c64214dc182b2a30aa0e4770be4cc
tree241d0c4fd6fdaa0e8d5e9cde594d44d5d170a7ac
parent28d96e5ee513f05576a24f9393a598118d1a73f9
brcmfmac: make scheduled scan support conditional

The scheduled scan support depends on firmware supporting the PNO
feature. This feature is optional so add a feature flag for this
in the driver and announce scheduled scan support accordingly.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/brcm80211/brcmfmac/feature.c
drivers/net/wireless/brcm80211/brcmfmac/feature.h