]> git.itanic.dy.fi Git - linux-stable/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)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 24 Apr 2024 20:26:10 +0000 (16:26 -0400)
commitb23d98d46d2858dcc0fd016caff165cbdc24e70a
treee151fa8c5f242df4291eb26190298feea3cb3e54
parentd1a5a7eede2977da3d2002d5ea3b519019cc1a98
Bluetooth: btusb: Fix triggering coredump implementation for QCA

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