Replace hci_recv_fragment calls
PATCH 2/3 Replace hci_recv_fragment calls
Replace all usages of hci_recv_fragment calls with hci_recv_packet_fragment
Signed-off-by suraj <[email protected]>
--- drivers/bluetooth/btusb.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/bluetooth/btusb.c +3 -3
@@ -211,7 +211,7 @@ static void btusb_intr_complete(struct urb *urb)if (urb->status ==0 ) { hdev->stat.byte_rx += urb->actual_length; -if (hci_recv_fragment (hdev,HCI_EVENT_PKT , +if (hci_recv_packet_fragment (hdev,HCI_EVENT_PKT , urb->transfer_buffer, urb->actual_length) <0 ) {BT_ERR ("%s corrupted event packet" , hdev->name);
@@ -295,7 +295,7 @@ static void btusb_bulk_complete(struct urb *urb)if (urb->status ==0 ) { hdev->stat.byte_rx += urb->actual_length; -if (hci_recv_fragment (hdev,HCI_ACLDATA_PKT , +if (hci_recv_packet_fragment (hdev,HCI_ACLDATA_PKT , urb->transfer_buffer, urb->actual_length) <0 ) {BT_ERR ("%s corrupted ACL packet" , hdev->name);
@@ -384,7 +384,7 @@ static void btusb_isoc_complete(struct urb *urb) hdev->stat.byte_rx += length; -if (hci_recv_fragment (hdev,HCI_SCODATA_PKT , +if (hci_recv_packet_fragment (hdev,HCI_SCODATA_PKT , urb->transfer_buffer + offset, length) <0 ) {BT_ERR ("%s corrupted SCO packet" , hdev->name);
Signature · 1 line
1.7.0