[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
[openwrt/svn-archive/archive.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);