Bluetooth: hci_qca: Add support for controller debug logs.
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Tue, 16 Oct 2018 14:21:35 +0000 (19:51 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Oct 2018 07:55:16 +0000 (09:55 +0200)
commitc614ca3f7476934de54dd731e09d094ad822696c
treed331236fc9bee60e26986bb5f810756335f4f687
parent1411a26053f492b7cef95f09898624544e4701d4
Bluetooth: hci_qca: Add support for controller debug logs.

This patch will prevent error messages splashing on console.

[   78.426697] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet for unknown connection handle 3804
[   78.436682] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet for unknown connection handle 3804
[   78.446639] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet for unknown connection handle 3804
[   78.456596] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet for unknown connection handle 3804

QCA wcn3990 will send the debug logs in the form of ACL packets.
While decoding packet in qca_recv(), marking the received debug log
packet as diagnostic packet.

Signed-off-by: Harish Bandi <c-hbandi@codeaurora.org>
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c