Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8aabfc9 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Gustavo Padovan
Browse files

Bluetooth: use buffer priority to mark URB_ISO_ASAP flag

parent 02b20f0b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -727,6 +727,9 @@ static int btusb_send_frame(struct sk_buff *skb)
		usb_fill_bulk_urb(urb, data->udev, pipe,
				skb->data, skb->len, btusb_tx_complete, skb);

		if (skb->priority >= HCI_PRIO_MAX - 1)
			urb->transfer_flags  = URB_ISO_ASAP;

		hdev->stat.acl_tx++;
		break;