]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btqcomsmd: Fix rx/tx stats
authorLoic Poulain <loic.poulain@linaro.org>
Fri, 6 Apr 2018 09:23:45 +0000 (11:23 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 May 2018 04:37:50 +0000 (06:37 +0200)
commit77f7d1a8ced2d8204e6d591743d37a3630b5e96b
treeb40815c6c23fe27eb25544f3479c181877a5ea61
parent9d11e438811c7b708aec61fe04dfb262e7d4a1c5
Bluetooth: btqcomsmd: Fix rx/tx stats

HCI RX/TX byte counters were only incremented when sending ACL packets.
To reflect the real HCI traffic, we need to increment these counters on
HCI events and HCI commands as well.

Increment error counter on rpmsg errors.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqcomsmd.c