Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv3 3/9] android/hal: Print full property in debug Date: Tue, 29 Oct 2013 14:57:33 +0200 Message-Id: <1383051459-29495-4-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1383051459-29495-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1383051459-29495-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko Instead of printing property type print type and value. Use exported function from hal test tool. --- android/hal-bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index a3f5038..0b46465 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -241,7 +241,7 @@ static int set_adapter_property(const bt_property_t *property) char buf[sizeof(struct hal_cmd_set_adapter_prop) + property->len]; struct hal_cmd_set_adapter_prop *cmd = (void *) buf; - DBG("prop: %s", bt_property_type_t2str(property->type)); + DBG("prop: %s", btproperty2str(property)); if (!interface_ready()) return BT_STATUS_NOT_READY; -- 1.7.10.4