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)
commit61a1ecfc8037e7eba9577a931cb8e1e92b636926
treeb40815c6c23fe27eb25544f3479c181877a5ea61
parente6ba8208a4b40c0175c8c5e48462dfbfb189c13d
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