]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: btusb: Fix triggering coredump implementation for QCA
authorZijun Hu <quic_zijuhu@quicinc.com>
Mon, 25 Mar 2024 08:11:49 +0000 (16:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:37 +0000 (16:32 +0200)
commit190d33b0a6344357ac629225b6077fda8c82af45
treead8fae05d7ab9cc7c07e594f4ef1defb711d0af3
parente4ce6ebc6ea145ac91e2424a376599374925a57a
Bluetooth: btusb: Fix triggering coredump implementation for QCA

[ Upstream commit b23d98d46d2858dcc0fd016caff165cbdc24e70a ]

btusb_coredump_qca() uses __hci_cmd_sync() to send a vendor-specific
command to trigger firmware coredump, but the command does not
have any event as its sync response, so it is not suitable to use
__hci_cmd_sync(), fixed by using __hci_cmd_send().

Fixes: 20981ce2d5a5 ("Bluetooth: btusb: Add WCN6855 devcoredump support")
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.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