summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorKarl Beldan <karl.beldan@gmail.com>2010-10-07 21:57:10 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2010-10-12 17:44:53 +0200
commit7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5 (patch)
treee53e5346210a96fa87827e5c9c6390dcc16e9832 /drivers/bluetooth/hci_ldisc.c
parentBluetooth: clean up rfcomm code (diff)
downloadlinux-7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5.tar.xz
linux-7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5.zip
Bluetooth: hci_uart: Fix typo in stats for sco tx
s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT Signed-off-by: Karl Beldan <karl.beldan@gmail.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 998833d93c13..74cb6f3e86c5 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -101,7 +101,7 @@ static inline void hci_uart_tx_complete(struct hci_uart *hu, int pkt_type)
break;
case HCI_SCODATA_PKT:
- hdev->stat.cmd_tx++;
+ hdev->stat.sco_tx++;
break;
}
}