Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
4f7ac1814e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 	};