projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18daf16
)
Bluetooth: Don't mark non xfer isoc endpoint URBs with URB_ISO_ASAP
author
Daniel Wagner
<
[email protected]
>
Tue, 3 Jan 2012 10:53:53 +0000
(11:53 +0100)
committer
Johan Hedberg
<
[email protected]
>
Wed, 15 Feb 2012 11:09:25 +0000
(13:09 +0200)
[ 2096.384084] btusb_send_frame:684: hci0
[ 2096.384087] usb 3-1: BOGUS urb flags, 2 --> 0
[ 2096.384091] Bluetooth: hci0 urb
ffff8801b61d3a80
submission failed (22)
According the documentation in usb_submit_urb() URB_ISO_ASAP
flag is only allowed for endpoints of type USB_ENDPOINT_XFER_ISOC.
This reverts commit
b8aabfc92249b239c425da7e4ca85b7e4855e984
.
Signed-off-by: Daniel Wagner <
[email protected]
>
Acked-by: Luiz Augusto von Dentz <
[email protected]
>
Acked-by: Marcel Holtmann <
[email protected]
>
Signed-off-by: Johan Hedberg <
[email protected]
>
drivers/bluetooth/btusb.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index f00f596c102997c8b32c48d4e41007eeae9a99a4..b7c4f4e2e3990ce41420dc7bdeb2eea97e7eb42d 100644
(file)
--- a/
drivers/bluetooth/btusb.c
+++ b/
drivers/bluetooth/btusb.c
@@
-726,9
+726,6
@@
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;