Bluetooth: qca: simplify WCN399x NVM loading
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 7 Feb 2025 20:41:16 +0000 (22:41 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 25 Mar 2025 16:42:19 +0000 (12:42 -0400)
commit1cc41b5092e3aa511454ec882c525af311bee631
treeac2b7dce408feeb4a638e4307106bb1f6a5d40b0
parentd0b391ef3b297b94815a4aee73aaead90680f1bc
Bluetooth: qca: simplify WCN399x NVM loading

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