]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 16 Jul 2025 19:38:15 +0000 (15:38 -0400)
commit43015955795a619f7ca4ae69b9c0ffc994c82818
treeb81fb6a10b672591f9c5ef31b0e5064afce78954
parent6851a0c228fc040dce8e4c393004209e7372e0a3
Bluetooth: btusb: QCA: Fix downloading wrong NVM for WCN6855 GF variant without board ID

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>
drivers/bluetooth/btusb.c