From 02c2f449d7fb61ba212fec12baec65197167e7bf Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Fri, 18 May 2012 20:22:32 +0000 Subject: omap24xx: add support for 3.3 Compile tested only. SVN-Revision: 31810 --- .../omap24xx/patches-3.3/410-hci-h4p-fixes.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch (limited to 'target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch') diff --git a/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch b/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch new file mode 100644 index 0000000..6741511 --- /dev/null +++ b/target/linux/omap24xx/patches-3.3/410-hci-h4p-fixes.patch @@ -0,0 +1,46 @@ +--- a/drivers/bluetooth/hci_h4p/core.c ++++ b/drivers/bluetooth/hci_h4p/core.c +@@ -36,9 +36,9 @@ + #include + #include + +-#include +-#include +-#include ++#include ++#include ++#include + #include + + #include +--- a/drivers/bluetooth/hci_h4p/hci_h4p.h ++++ b/drivers/bluetooth/hci_h4p/hci_h4p.h +@@ -21,7 +21,7 @@ + * + */ + +-#include ++#include + + #include + #include +--- a/drivers/bluetooth/hci_h4p/sysfs.c ++++ b/drivers/bluetooth/hci_h4p/sysfs.c +@@ -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.1