From: Gustavo F. Padovan <padovan@profusion.mobi> Date: Sat, 1 May 2010 19:15:34 +0000 (-0300) Subject: Bluetooth: Fix wrong packet type count increment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f7ac1814ef6f0773e57ffd159a1dd57a3c80521;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Bluetooth: Fix wrong packet type count increment Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> --- diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index bb0aefdb426..3aa7b2a54b6 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c @@ -157,7 +157,7 @@ static inline ssize_t vhci_put_user(struct vhci_data *data, break; case HCI_SCODATA_PKT: - data->hdev->stat.cmd_tx++; + data->hdev->stat.sco_tx++; break; };