From fbe25f01fc08ac453d18345100c0e3393a7438bd Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Tue, 11 Oct 2016 13:53:57 +0900 Subject: [PATCH] Include the method call for naroow and wide band setting method Change-Id: I5ed2a97d10b8bcc2e388287792f1f3aa957420a6 Signed-off-by: DoHyun Pyun --- packaging/bluez.spec | 2 +- src/adapter.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packaging/bluez.spec b/packaging/bluez.spec index c6dff64..38807c1 100644 --- a/packaging/bluez.spec +++ b/packaging/bluez.spec @@ -4,7 +4,7 @@ Name: bluez Summary: Bluetooth Stack for Linux Version: 5.37 -Release: 0 +Release: 1 Group: Network & Connectivity/Bluetooth License: GPL-2.0+ and LGPL-2.1+ and Apache-2.0 URL: http://www.bluez.org/ diff --git a/src/adapter.c b/src/adapter.c index c18f6c2..a1e0d75 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4031,7 +4031,7 @@ static void adapter_get_adv_tx_power(void *data) return; } #endif -#ifdef __BROADCOM_PATCH__ + static DBusMessage *set_wbs_parameters(DBusConnection *conn, DBusMessage *msg, void *data) { @@ -4116,7 +4116,6 @@ static DBusMessage *set_nb_parameters(DBusConnection *conn, return dbus_message_new_method_return(msg); } -#endif /* __BROADCOM_PATCH__ */ #ifdef __TIZEN_PATCH__ void btd_adapter_set_read_le_data_length_handler( @@ -5876,7 +5875,6 @@ static const GDBusMethodTable adapter_methods[] = { GDBUS_ARGS({ "address", "s" }), GDBUS_ARGS({ "device", "o" }), find_device) }, -#ifdef __BROADCOM_PATCH__ { GDBUS_METHOD("SetWbsParameters", GDBUS_ARGS({ "role", "s" }, { "bt_address", "s" }), NULL, @@ -5885,7 +5883,6 @@ static const GDBusMethodTable adapter_methods[] = { GDBUS_ARGS({ "role", "s" }, { "bt_address", "s" }), NULL, set_nb_parameters) }, -#endif { GDBUS_METHOD("SetManufacturerData", GDBUS_ARGS({ "value", "ay" }), NULL, adapter_set_manufacturer_data) }, -- 2.7.4