浏览代码

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>
Karl Beldan 14 年之前
父节点
当前提交
7f8f2729ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/bluetooth/hci_ldisc.c

+ 1 - 1
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;
 	}
 }