summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_vhci.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-05-01 21:15:34 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 09:28:45 +0200
commit4f7ac1814ef6f0773e57ffd159a1dd57a3c80521 (patch)
tree43ff54449bf1f8f95e255af6b471c80a2e650dc5 /drivers/bluetooth/hci_vhci.c
parentBluetooth: Use the proper function cast to get hdr data (diff)
downloadlinux-4f7ac1814ef6f0773e57ffd159a1dd57a3c80521.tar.xz
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/hci_vhci.c')
-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;
};