]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: allow wowlan support to be per device
authorArend Van Spriel <arend.vanspriel@broadcom.com>
Fri, 27 Jan 2017 12:27:47 +0000 (12:27 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jan 2017 07:24:59 +0000 (09:24 +0200)
commit29b4b64a7fa7a93ab3f1ea75cfa52a59326b04dc
tree14c3dc4cfa9ff440d709bfa8617f6779a4a31a92
parent06a84188abcdd0ed963c999a1a5782fce992c51a
brcmfmac: allow wowlan support to be per device

The wowlan support is (partially) determined dynamic by checking the
device/firmware capabilities. So they can differ per device. So it
is not possible to use a static global. Instead use the global as a
template and use kmemdup(). When kmemdup() fails the template is used
unmodified.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c