refresh generic 2.6.28 patches
[openwrt.git] / target / linux / brcm-2.4 / patches / 005-bluetooth_sco_buffer_align.patch
1 Index: linux-2.4.35.4/drivers/bluetooth/hci_usb.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/drivers/bluetooth/hci_usb.c
4 +++ linux-2.4.35.4/drivers/bluetooth/hci_usb.c
5 @@ -259,6 +259,9 @@ static int hci_usb_isoc_rx_submit(struct
6 void *buf;
7
8 mtu = husb->isoc_in_ep->wMaxPacketSize;
9 +#ifdef CONFIG_BCM4710
10 + mtu = (mtu + 1) & ~1; /* brcm: isoc buffers must be aligned on word boundary */
11 +#endif
12 size = mtu * HCI_MAX_ISOC_FRAMES;
13
14 buf = kmalloc(size, GFP_ATOMIC);
This page took 0.048275 seconds and 5 git commands to generate.