linux/drivers/net/wireless/broadcom
Hector Martin d19d8e3ba2 brcmfmac: firmware: Allocate space for default boardrev in nvram
If boardrev is missing from the NVRAM we add a default one, but this
might need more space in the output buffer than was allocated. Ensure
we have enough padding for this in the buffer.

Fixes: 46f2b38a91 ("brcmfmac: insert default boardrev in nvram data if missing")
Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Cc: stable@vger.kernel.org
Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220131160713.245637-3-marcan@marcan.st
2022-02-01 14:27:04 +02:00
..
b43 b43: fix a lower bounds test 2021-10-11 09:09:30 +03:00
b43legacy b43legacy: fix a lower bounds test 2021-10-11 09:09:29 +03:00
brcm80211 brcmfmac: firmware: Allocate space for default boardrev in nvram 2022-02-01 14:27:04 +02:00
Kconfig
Makefile