Re: [PATCH v3 3/9] brcmfmac: firmware: Do not crash on a NULL board_type

From: Arend van Spriel
Date: Wed Jan 19 2022 - 07:35:31 EST


On 1/17/2022 3:29 PM, Hector Martin wrote:
This unbreaks support for USB devices, which do not have a board_type
to create an alt_path out of and thus were running into a NULL
dereference.

Fixes: 5ff013914c62 ("brcmfmac: firmware: Allow per-board firmware binaries")
Reviewed-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c | 3 +++
1 file changed, 3 insertions(+)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature