diff options
| author | sakumisu <[email protected]> | 2024-01-23 22:04:39 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-01-23 22:05:10 +0800 |
| commit | 24511c4d4be290cd5d620ff23e5f0766a5179add (patch) | |
| tree | e1994ac9a901faf652ebb929a400ae56531c32c8 | |
| parent | c7cf09f6c36e089e6dc5d480620e499a55f9d023 (diff) | |
fix actual len position
| -rw-r--r-- | class/wireless/usbh_bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/class/wireless/usbh_bluetooth.c b/class/wireless/usbh_bluetooth.c index 47a4cbac..d117dbe5 100644 --- a/class/wireless/usbh_bluetooth.c +++ b/class/wireless/usbh_bluetooth.c @@ -229,8 +229,8 @@ void usbh_bluetooth_hci_acl_rx_thread(void *argument) } actual_len += g_bluetooth_class.bulkin_urb.actual_length; if (g_bluetooth_class.bulkin_urb.actual_length != ep_mps) { - actual_len = 0; usbh_bluetooth_hci_rx_callback(USB_BLUETOOTH_HCI_ACL_IN, g_bluetooth_acl_buf, actual_len); + actual_len = 0; } else { /* read continue util read short packet */ } |
