[8.09] kernel: refresh patches
[openwrt/svn-archive/archive.git] / target / linux / brcm-2.4 / patches / 005-bluetooth_sco_buffer_align.patch
1 --- a/drivers/bluetooth/hci_usb.c
2 +++ b/drivers/bluetooth/hci_usb.c
3 @@ -259,6 +259,9 @@ static int hci_usb_isoc_rx_submit(struct
4 void *buf;
5
6 mtu = husb->isoc_in_ep->wMaxPacketSize;
7 +#ifdef CONFIG_BCM4710
8 + mtu = (mtu + 1) & ~1; /* brcm: isoc buffers must be aligned on word boundary */
9 +#endif
10 size = mtu * HCI_MAX_ISOC_FRAMES;
11
12 buf = kmalloc(size, GFP_ATOMIC);