summaryrefslogtreecommitdiffstats
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 12:44:53 -0300
commit7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5 (patch)
treee53e5346210a96fa87827e5c9c6390dcc16e9832
parent534c92fde74c8d2143fc15b5f1d957f42cb43570 (diff)
downloadop-kernel-dev-7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5.zip
op-kernel-dev-7f8f2729ce6380a2735ddf45c04d5bb09eaca8a5.tar.gz
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>
-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 998833d..74cb6f3 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;
}
}
OpenPOWER on IntegriCloud