public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: Fix typo in stats for hci_uart
@ 2009-07-28 16:40 Karl Beldan
  2009-08-05 10:20 ` Karl Beldan
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Beldan @ 2009-07-28 16:40 UTC (permalink / raw)
  To: marcel; +Cc: linux-bluetooth

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT

Signed-off-by: Karl Beldan <karl.beldan@mobile-devices.fr>
---
 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 4895f0e..a08b207 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.6.3.2.306.g4f4fa


[-- Attachment #2: 0001-Bluetooth-Fix-typo-in-stats-for-hci_uart.patch --]
[-- Type: text/plain, Size: 814 bytes --]

From 2b789aa983d5e27011c5fd2ae444b495ad9a9b81 Mon Sep 17 00:00:00 2001
From: Karl Beldan <karl.beldan@gmail.com>
Date: Tue, 28 Jul 2009 18:03:12 +0200
Subject: [PATCH] Bluetooth: Fix typo in stats for hci_uart

s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT

Signed-off-by: Karl Beldan <karl.beldan@mobile-devices.fr>
---
 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 4895f0e..a08b207 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.6.3.2.306.g4f4fa


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Bluetooth: Fix typo in stats for hci_uart
  2009-07-28 16:40 [PATCH] Bluetooth: Fix typo in stats for hci_uart Karl Beldan
@ 2009-08-05 10:20 ` Karl Beldan
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Beldan @ 2009-08-05 10:20 UTC (permalink / raw)
  To: marcel; +Cc: linux-bluetooth

Hi Marcel,

Are you considering applying this trivial one ?


Karl Beldan wrote:
> s/stat.cmd_tx++/stat.sco_tx++ for HCI_SCODATA_PKT
> 
> Signed-off-by: Karl Beldan <karl.beldan@mobile-devices.fr>
> ---
>  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 4895f0e..a08b207 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;
>  	}
>  }
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-05 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 16:40 [PATCH] Bluetooth: Fix typo in stats for hci_uart Karl Beldan
2009-08-05 10:20 ` Karl Beldan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox