add optional version suffix to kernel files/ directories
[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 2007-12-15 05:19:36.182482961 +0100
4 +++ linux-2.4.35.4/drivers/bluetooth/hci_usb.c 2007-12-15 05:20:14.964693031 +0100
5 @@ -259,6 +259,9 @@
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.044548 seconds and 5 git commands to generate.