From 0e35111ec462275dc1114706f40fea24d1b0b70a Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 25 Oct 2013 12:50:01 +0200 Subject: [PATCH] android/hal: Add support for sending adapter get properties command This allows HAL to get all adapter properties. --- android/hal-bluetooth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/hal-bluetooth.c b/android/hal-bluetooth.c index a71de83a1..b81f8dd6e 100644 --- a/android/hal-bluetooth.c +++ b/android/hal-bluetooth.c @@ -138,7 +138,8 @@ static int get_adapter_properties(void) if (!interface_ready()) return BT_STATUS_NOT_READY; - return BT_STATUS_UNSUPPORTED; + return hal_ipc_cmd(HAL_SERVICE_ID_BLUETOOTH, HAL_OP_GET_ADAPTER_PROPS, + 0, NULL, 0, NULL, NULL); } static int get_adapter_property(bt_property_type_t type) -- 2.47.3