summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-05-01 16:15:34 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 09:28:45 +0200
commit4f7ac1814ef6f0773e57ffd159a1dd57a3c80521 (patch)
tree43ff54449bf1f8f95e255af6b471c80a2e650dc5 /drivers/bluetooth
parentacce90d6a957812081b83ac4d1133e93a43569c6 (diff)
downloadlinux-4f7ac1814ef6f0773e57ffd159a1dd57a3c80521.tar.gz
linux-4f7ac1814ef6f0773e57ffd159a1dd57a3c80521.tar.bz2
linux-4f7ac1814ef6f0773e57ffd159a1dd57a3c80521.zip
Bluetooth: Fix wrong packet type count increment
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_vhci.c2
1 files changed, 1 insertions, 1 deletions
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;
};