Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv2 6/9] android/hal: Print adapter state Date: Tue, 29 Oct 2013 12:21:55 +0200 Message-Id: <1383042118-21205-7-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1383042118-21205-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1382957047-31775-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1383042118-21205-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 81e23cb..4dbfeec 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