From: Luis R. Rodriguez Date: Thu, 23 Feb 2012 23:15:27 +0000 (-0800) Subject: compat-wireless: fix patches/16-bluetooth.patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c9936afc2a4682105ddf04edacf4616d01eec22e;p=openwrt%2Fstaging%2Fblogic.git compat-wireless: fix patches/16-bluetooth.patch Some context lines were removed from the upstream driver. Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/16-bluetooth.patch b/patches/16-bluetooth.patch index be5c643ce9b2..3397b2d8fdc9 100644 --- a/patches/16-bluetooth.patch +++ b/patches/16-bluetooth.patch @@ -3,7 +3,7 @@ here still, but for now we keep this here. --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c -@@ -282,8 +282,13 @@ static int hci_uart_tty_open(struct tty_ +@@ -273,8 +273,13 @@ static int hci_uart_tty_open(struct tty_ /* FIXME: why is this needed. Note don't use ldisc_ref here as the open path is before the ldisc is referencable */ @@ -17,17 +17,17 @@ here still, but for now we keep this here. tty_driver_flush_buffer(tty); return 0; -@@ -398,7 +403,9 @@ static int hci_uart_register_dev(struct +@@ -390,7 +395,9 @@ static int hci_uart_register_dev(struct + hdev->close = hci_uart_close; hdev->flush = hci_uart_flush; hdev->send = hci_uart_send_frame; - hdev->destruct = hci_uart_destruct; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37) hdev->parent = hu->tty->dev; +#endif - hdev->owner = THIS_MODULE; - -@@ -498,7 +505,11 @@ static int hci_uart_tty_ioctl(struct tty + if (!reset) + set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks); +@@ -488,7 +495,11 @@ static int hci_uart_tty_ioctl(struct tty return hu->hdev_flags; default: