From baf6c5034882d1f3955535615bac84f36c83aa5d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 1 Jan 2012 17:55:56 +0100 Subject: [PATCH] linux: add patch to fix some broken BT dongles Signed-off-by: Stephan Raue --- .../linux-3.2-rc7-901_broken_bluetooth.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/linux/patches/linux-3.2-rc7-901_broken_bluetooth.patch diff --git a/packages/linux/patches/linux-3.2-rc7-901_broken_bluetooth.patch b/packages/linux/patches/linux-3.2-rc7-901_broken_bluetooth.patch new file mode 100644 index 0000000000..f57a395502 --- /dev/null +++ b/packages/linux/patches/linux-3.2-rc7-901_broken_bluetooth.patch @@ -0,0 +1,13 @@ +diff -Naur linux-3.2-rc7/net/bluetooth/hci_event.c linux-3.2-rc7.patch/net/bluetooth/hci_event.c +--- linux-3.2-rc7/net/bluetooth/hci_event.c 2011-12-24 06:51:06.000000000 +0100 ++++ linux-3.2-rc7.patch/net/bluetooth/hci_event.c 2012-01-01 15:50:48.745287438 +0100 +@@ -695,7 +695,8 @@ + if (rp->status) + return; + +- memcpy(hdev->extfeatures, rp->features, 8); ++ if (rp->page == 1) ++ memcpy(hdev->extfeatures, rp->features, 8); + + hci_req_complete(hdev, HCI_OP_READ_LOCAL_EXT_FEATURES, rp->status); + }