Bluetooth: btusb: fix bInterval for high/super speed isochronous endpoints
authorBing Zhao <bzhao@marvell.com>
Wed, 21 Dec 2011 02:19:00 +0000 (18:19 -0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Dec 2011 04:16:28 +0000 (02:16 -0200)
commitfa0fb93f2ac308a76fa64eb57c18511dadf97089
tree6b44034cf6af4ed9559701f91679f332ee3a710a
parent030013d8585bfc9479bb367bf771d96ef8e289a4
Bluetooth: btusb: fix bInterval for high/super speed isochronous endpoints

For high-speed/super-speed isochronous endpoints, the bInterval
value is used as exponent, 2^(bInterval-1). Luckily we have
usb_fill_int_urb() function that handles it correctly. So we just
call this function to fill in the RX URB.

Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/btusb.c