Skip to content

Commit b8aabfc

Browse files
VudentzGustavo F. Padovan
authored andcommitted
Bluetooth: use buffer priority to mark URB_ISO_ASAP flag
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
1 parent 02b20f0 commit b8aabfc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/bluetooth/btusb.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,9 @@ static int btusb_send_frame(struct sk_buff *skb)
727727
usb_fill_bulk_urb(urb, data->udev, pipe,
728728
skb->data, skb->len, btusb_tx_complete, skb);
729729

730+
if (skb->priority >= HCI_PRIO_MAX - 1)
731+
urb->transfer_flags = URB_ISO_ASAP;
732+
730733
hdev->stat.acl_tx++;
731734
break;
732735

0 commit comments

Comments
 (0)