]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID
authorZijun Hu <zijun.hu@oss.qualcomm.com>
Tue, 15 Jul 2025 12:40:13 +0000 (20:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2025 06:58:37 +0000 (08:58 +0200)
commit46e8c538b8a6641a4590c41d506aa88f902f56ec
tree40dd141d05ab69039d721a1c2538cc75bdb178c1
parentd9b983946e2eb945a32c27f057487ed5ac84f7ea
Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID

[ Upstream commit 43015955795a619f7ca4ae69b9c0ffc994c82818 ]

For GF variant of WCN6855 without board ID programmed
btusb_generate_qca_nvm_name() will chose wrong NVM
'qca/nvm_usb_00130201.bin' to download.

Fix by choosing right NVM 'qca/nvm_usb_00130201_gf.bin'.
Also simplify NVM choice logic of btusb_generate_qca_nvm_name().

Fixes: d6cba4e6d0e2 ("Bluetooth: btusb: Add support using different nvm for variant WCN6855 controller")
Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btusb.c