2010-10-07 19:57:10

by Karl Beldan

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
Cc: Marcel Holtmann <[email protected]>
---
drivers/bluetooth/hci_ldisc.c | 2 +-
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;
}
}
--
1.7.1.422.g049e9


2010-10-08 08:33:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_uart: Fix typo in stats for sco tx

Hi Karl,

> s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT
>
> Signed-off-by: Karl Beldan <[email protected]>
> Cc: Marcel Holtmann <[email protected]>

Acked-by: Marcel Holtmann <[email protected]>

Regards

Marcel



2010-10-07 20:35:46

by Gustavo Padovan

[permalink] [raw]
Subject: Re: [PATCH] Bluetooth: hci_uart: Fix typo in stats for sco tx

Hi Karl,

* Karl Beldan <[email protected]> [2010-10-07 21:57:10 +0200]:

> s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT
>
> Signed-off-by: Karl Beldan <[email protected]>
> Cc: Marcel Holtmann <[email protected]>
> ---
> drivers/bluetooth/hci_ldisc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Good catch! Applied, Thanks.

--
Gustavo F. Padovan
ProFUSION embedded systems - http://profusion.mobi