]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: qca: Fix triggering coredump implementation
authorZijun Hu <quic_zijuhu@quicinc.com>
Fri, 26 Jan 2024 09:00:24 +0000 (17:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:48:36 +0000 (14:48 +0000)
commit39e39c34abb5e57f0213cc659bdb35a3a1f86f93
tree5053b8ceae916498cabf218283a356fcb0c8f71e
parentc50ce483c28ae06f3ddbf8110f9affe1a6ae1d0f
Bluetooth: qca: Fix triggering coredump implementation

[ Upstream commit 6abf9dd26bb1699c17d601b9a292577d01827c0e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/hci_qca.c