Bluetooth: qca: Fix triggering coredump implementation
authorZijun Hu <quic_zijuhu@quicinc.com>
Fri, 26 Jan 2024 09:00:24 +0000 (17:00 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 28 Feb 2024 14:50:51 +0000 (09:50 -0500)
commit6abf9dd26bb1699c17d601b9a292577d01827c0e
tree3be86b5650094d05aa5e3716112e862f848dcb58
parent7dcd3e014aa7faeeaf4047190b22d8a19a0db696
Bluetooth: qca: Fix triggering coredump implementation

hci_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: 06d3fdfcdf5c ("Bluetooth: hci_qca: Add qcom 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/hci_qca.c