Bluetooth: btmtksdio: Fix hdev->stat.byte_rx accumulation
authorSean Wang <sean.wang@mediatek.com>
Thu, 18 Apr 2019 09:08:01 +0000 (17:08 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Apr 2019 16:36:20 +0000 (18:36 +0200)
commitbcaa7d72dffddfa4196a37108d67fc12fb4edfca
treecced42a9de4a526f3d509d4c15c0206947cdd56b
parent2e47cc2b3a7dcef7deab3301796f21f80e161b13
Bluetooth: btmtksdio: Fix hdev->stat.byte_rx accumulation

Accumulate hdev->stat.byte_rx only for valid packets as btmtkuart doing.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c