]> 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:51:52 +0000 (08:51 +0200)
commit0cf885c3d813c530158dba95d09766c5854682bd
treec28e4484d6dbf1fec3c8c7ea81eb11465747ba8a
parent4efc44f347df58b4e25dda8a92030189ec3c0e25
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