]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: qca: simplify WCN399x NVM loading
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 7 Feb 2025 20:41:16 +0000 (22:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:22 +0000 (10:15 +0200)
commitfeed98579d4038900e7cfeea676b6e90d009174c
treee166d8cf1f6217ab2affe38bfbe5be8fab3da243
parentfe6f1f349d6e0f06c2dd99ccf7a234dbf051c5c3
Bluetooth: qca: simplify WCN399x NVM loading

[ Upstream commit 1cc41b5092e3aa511454ec882c525af311bee631 ]

The WCN399x code has two separate cases for loading the NVM data. In
preparation to adding support for WCN3950, which also requires similar
quirk, split the "variant" to be specified explicitly and merge two
snprintfs into a single one.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btqca.c