]> 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)
commit411fa4d4c0c117b7223df67a36a897509b942a61
treeb40815c6c23fe27eb25544f3479c181877a5ea61
parentadbf0a6c50ce953c4fe4128431140b33d8e5d5d1
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