From: Gustavo F. Padovan Date: Sat, 1 May 2010 19:15:34 +0000 (-0300) Subject: Bluetooth: Fix wrong packet type count increment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4f7ac1814ef6f0773e57ffd159a1dd57a3c80521;p=linux-beck.git Bluetooth: Fix wrong packet type count increment Signed-off-by: Gustavo F. Padovan Signed-off-by: Marcel Holtmann --- diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index bb0aefdb4267..3aa7b2a54b6f 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; };