From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> This is second chunk from my initial big patch set. Fixed style issues commented by Marcel. Changes: * v5: Rebased against upstream, hid and pan now uses explicit struct initialization, adapter-related functionality moved to adapter.c, fixed issues reported by Johan. * v4: Fixes several typos and missing style issues commented by Marcel earlier. * v3: Following upstream comments file names are changed from "_" to "-", added kernel style struct initialization, fixed bug checking status for mgmt commands, added 2 HALs skeletons. * v2: Corrected android_daemon -> enable_android autoconf stuff, better name for acquiring caps, renamed hal_msg.h to hal-msg.h due to Johan's comment. Added small test-sdp fix. Note that due to Marcel comment this cannot be built unless you include my patch for Android bionic library: http://code.google.com/p/android-bluez/source/detail?r=77a07e7703b63e280d9880baad30b3375e7df079&repo=bionic# Andrei Emeltchenko (7): android: Add capabilities and set userid android: Implement read_info_complete callback android: Use kernel style to initialize struct fields android: Rename hal_bluetooth.c to hal-bluetooth.c android: Rename hal_bt_sock.c to hal-bt-sock.c android: Add HID Host skeleton android: Add PAN skeleton Makefile.android | 3 +- android/Android.mk | 7 +- android/adapter.c | 108 +++++++++++-- android/hal-bluetooth.c | 392 +++++++++++++++++++++++++++++++++++++++++++++++ android/hal-bt-sock.c | 85 ++++++++++ android/hal-hidhost.c | 204 ++++++++++++++++++++++++ android/hal-pan.c | 120 +++++++++++++++ android/hal.h | 2 + android/hal_bluetooth.c | 384 ---------------------------------------------- android/hal_bt_sock.c | 85 ---------- android/main.c | 77 ++++++++-- configure.ac | 4 + 12 files changed, 980 insertions(+), 491 deletions(-) create mode 100644 android/hal-bluetooth.c create mode 100644 android/hal-bt-sock.c create mode 100644 android/hal-hidhost.c create mode 100644 android/hal-pan.c delete mode 100644 android/hal_bluetooth.c delete mode 100644 android/hal_bt_sock.c -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html