Skip to contentSkip to conversation

Bluetooth: Fix typo in stats for hci_uart

PATCH In review Karl Beldan 1 participant 2 messages Jul 28, 2009 – Aug 5, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Bluetooth: Fix typo in stats for hci_uart

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

---
 drivers/bluetooth/hci_ldisc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/bluetooth/hci_ldisc.c +1 -1
index 4895f0e..a08b207 100644
@@ -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;
 	}
 }
Signature · 1 line
1.6.3.2.306.g4f4fa

From 2b789aa983d5e27011c5fd2ae444b495ad9a9b81 Mon Sep 17 00:00:00 2001
From: Karl Beldan <[email protected]>
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

---
 drivers/bluetooth/hci_ldisc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/bluetooth/hci_ldisc.c +1 -1
index 4895f0e..a08b207 100644
@@ -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;
 	}
 }
Signature · 1 line
1.6.3.2.306.g4f4fa
#1 lore raw

Hi Marcel,

Are you considering applying this trivial one ?

Quoted 21 lines · Karl Beldan

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

---
 drivers/bluetooth/hci_ldisc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/bluetooth/hci_ldisc.c +1 -1
index 4895f0e..a08b207 100644
@@ -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;
 	}
 }