Bluetooth: Don't mark non xfer isoc endpoint URBs with URB_ISO_ASAP
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 3 Jan 2012 10:53:53 +0000 (11:53 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 15 Feb 2012 11:09:25 +0000 (13:09 +0200)
commit19ad9e94f6e2b4b3e1feccfb2466eb6e3e5b8c2a
tree8227320fee1abc4db1aa0aeefcfde5b0f2b2f87d
parent18daf1644e634bae951a6e3d4d19d89170209762
Bluetooth: Don't mark non xfer isoc endpoint URBs with URB_ISO_ASAP

[ 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 <daniel.wagner@bmw-carit.de>
Acked-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c