Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv4 5/8] android/hal: Print adapter state Date: Wed, 30 Oct 2013 14:16:43 +0200 Message-Id: <1383135406-23658-6-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1383135406-23658-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1383051459-29495-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1383135406-23658-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko --- android/hal-bluetooth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index 93490f3..0908f06 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -33,6 +33,8 @@ static void handle_adapter_state_changed(void *buf) { struct hal_ev_adapter_state_changed *ev = buf; + DBG("state: %s", bt_state_t2str(ev->state)); + if (bt_hal_cbacks->adapter_state_changed_cb) bt_hal_cbacks->adapter_state_changed_cb(ev->state); } -- 1.7.10.4