浏览代码

Bluetooth: Fix wrong packet type count increment

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Gustavo F. Padovan 15 年之前
父节点
当前提交
4f7ac1814e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/bluetooth/hci_vhci.c

+ 1 - 1
drivers/bluetooth/hci_vhci.c

@@ -157,7 +157,7 @@ static inline ssize_t vhci_put_user(struct vhci_data *data,
 		break;
 
 	case HCI_SCODATA_PKT:
-		data->hdev->stat.cmd_tx++;
+		data->hdev->stat.sco_tx++;
 		break;
 	};