summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--class/wireless/usbh_bluetooth.c2
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 */
}