diff options
author | Franky Lin <frankyl@broadcom.com> | 2016-02-17 11:26:52 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-03-07 14:14:43 +0200 |
commit | 6ea09153b6ccbee79869537ce61f5c16f736d72b (patch) | |
tree | 246d7eb42cc4e1fa50635df054b6df834ad0590d /drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h | |
parent | d536733442d14664437dc9c3ec993d97b5a4f1b1 (diff) |
brcmfmac: check for wowl support before enumerating feature flag
In some cases wiphy->wowlan could be NULL if firmware doesn't have the
support. Driver should check for support before walking down the feature
flags.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h')
0 files changed, 0 insertions, 0 deletions