Bluetooth: Fix wrong packet type count increment
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:34 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:45 +0000 (09:28 +0200)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_vhci.c

index bb0aefdb4267c47c88f408033a6998fdd408206a..3aa7b2a54b6f75b04014847e989bf7215dd41bc5 100644 (file)
@@ -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;
        };