Bluetooth: qca: Fix wrong event type for patch config command
authorZijun Hu <quic_zijuhu@quicinc.com>
Fri, 19 Jan 2024 09:45:30 +0000 (17:45 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 28 Feb 2024 14:50:51 +0000 (09:50 -0500)
commitc0dbc56077ae759f2dd602c7561480bc2b1b712c
treee9043b9821df1ffa2c4bac35879bf37d8c8463fb
parente4b019515f950b4e6e5b74b2e1bb03a90cb33039
Bluetooth: qca: Fix wrong event type for patch config command

Vendor-specific command patch config has HCI_Command_Complete event as
response, but qca_send_patch_config_cmd() wrongly expects vendor-specific
event for the command, fixed by using right event type.

Btmon log for the vendor-specific command are shown below:
< HCI Command: Vendor (0x3f|0x0000) plen 5
        28 01 00 00 00
> HCI Event: Command Complete (0x0e) plen 5
      Vendor (0x3f|0x0000) ncmd 1
        Status: Success (0x00)
        28

Fixes: 4fac8a7ac80b ("Bluetooth: btqca: sequential validation")
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btqca.c