brcmfmac: insert default boardrev in nvram data if missing
authorHante Meuleman <hante.meuleman@broadcom.com>
Mon, 11 Apr 2016 09:35:23 +0000 (11:35 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 14 Apr 2016 12:57:47 +0000 (15:57 +0300)
commit46f2b38a91b08ec7faf1839c3cdcec3cfcc6ad50
treef6174e461330839243be4f1d99232eafa83e64eb
parent28b285a6129d0c19bcf9e40bb7767da0fd62974f
brcmfmac: insert default boardrev in nvram data if missing

Some nvram files/stores come without the boardrev information,
but firmware requires this to be set. When not found in nvram then
add a default boardrev string to the nvram data.

Reported-by: Rafal Milecki <zajec5@gmail.com>
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <franky.lin@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Signed-off-by: Hante Meuleman <hante.meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c