From bc3a74c1d378b57b4e5198f384f118e81a51a2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Mon, 7 Mar 2011 16:18:54 +0000 Subject: n810 bluetooth compile fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25937 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.38/410-hci-h4p-fixes.patch | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 target/linux/omap24xx/patches-2.6.38/410-hci-h4p-fixes.patch (limited to 'target') diff --git a/target/linux/omap24xx/patches-2.6.38/410-hci-h4p-fixes.patch b/target/linux/omap24xx/patches-2.6.38/410-hci-h4p-fixes.patch new file mode 100644 index 0000000000..ce02f770a0 --- /dev/null +++ b/target/linux/omap24xx/patches-2.6.38/410-hci-h4p-fixes.patch @@ -0,0 +1,52 @@ +Index: linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/core.c +=================================================================== +--- linux-2.6.38-rc7.orig/drivers/bluetooth/hci_h4p/core.c 2011-03-07 15:32:55.783737501 +0100 ++++ linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/core.c 2011-03-07 15:33:09.851047680 +0100 +@@ -36,9 +36,9 @@ + #include + #include + +-#include +-#include +-#include ++#include ++#include ++#include + #include + + #include +Index: linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/hci_h4p.h +=================================================================== +--- linux-2.6.38-rc7.orig/drivers/bluetooth/hci_h4p/hci_h4p.h 2011-03-07 15:32:55.766739543 +0100 ++++ linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/hci_h4p.h 2011-03-07 15:33:09.852047560 +0100 +@@ -21,7 +21,7 @@ + * + */ + +-#include ++#include + + #include + #include +Index: linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/sysfs.c +=================================================================== +--- linux-2.6.38-rc7.orig/drivers/bluetooth/hci_h4p/sysfs.c 2011-03-07 15:32:55.807734619 +0100 ++++ linux-2.6.38-rc7/drivers/bluetooth/hci_h4p/sysfs.c 2011-03-07 15:33:09.852047560 +0100 +@@ -48,15 +48,8 @@ static ssize_t hci_h4p_store_bdaddr(stru + return -EINVAL; + } + +- //for (i = 0; i < 6; i++) +- //info->bdaddr[i] = bdaddr[i] & 0xff; +- +- info->bdaddr[0] = 0x00; +- info->bdaddr[1] = 0x1D; +- info->bdaddr[2] = 0x6E; +- info->bdaddr[3] = 0xD4; +- info->bdaddr[4] = 0xF0; +- info->bdaddr[5] = 0x37; ++ for (i = 0; i < 6; i++) ++ info->bdaddr[i] = bdaddr[i] & 0xff; + + return count; + } -- cgit v1.2.3