From b389158b1194810db0f4249581c839729271cab5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Sep 2010 19:08:14 -0700 Subject: midpath-core_0.2+0.3rc2.bb: Fix compilation error and QA HASH error on ARM * Remove legacy staging Signed-off-by: Khem Raj --- recipes/midpath/files/hci_read_local_name.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes/midpath/files/hci_read_local_name.patch (limited to 'recipes/midpath/files/hci_read_local_name.patch') diff --git a/recipes/midpath/files/hci_read_local_name.patch b/recipes/midpath/files/hci_read_local_name.patch new file mode 100644 index 0000000000..e4ce11464a --- /dev/null +++ b/recipes/midpath/files/hci_read_local_name.patch @@ -0,0 +1,13 @@ +Index: midpath-0.3rc2/external/avetanabt-cldc/native/de_avetana_bluetooth_stack_BlueZ.cpp +=================================================================== +--- midpath-0.3rc2.orig/external/avetanabt-cldc/native/de_avetana_bluetooth_stack_BlueZ.cpp 2010-09-07 18:49:11.000000000 -0700 ++++ midpath-0.3rc2/external/avetanabt-cldc/native/de_avetana_bluetooth_stack_BlueZ.cpp 2010-09-07 18:51:52.877682002 -0700 +@@ -649,7 +649,7 @@ JNIEXPORT jstring JNICALL Java_de_avetan + + //printf("Function called: %s, %i\n"__FILE__, __LINE__); + +- if (hci_local_name(dd, sizeof(name_str), name_str, timeOut) < 0) ++ if (hci_read_local_name(dd, sizeof(name_str), name_str, timeOut) < 0) + { + throwException(env, "Java_de_avetana_bluetooth_stack_BlueZ_hciLocalName: Unable to read local name"); + return 0; -- cgit v1.2.3