From d95bae6d86a38b9f5ed17e0a8a69ae0241006141 Mon Sep 17 00:00:00 2001 From: Ravi kumar Veeramally Date: Tue, 12 Nov 2013 17:07:15 +0200 Subject: [PATCH] android/hidhost: Set info request from HAL is not supported Data from hal_cmd_hidhost_set_info is usefull only when we create UHID device. Once device is created all the transactions will be done through the fd. There is no way to use this information once device is created with HID internals. --- android/hidhost.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/android/hidhost.c b/android/hidhost.c index 0bc71543f..f5a1b14ef 100644 --- a/android/hidhost.c +++ b/android/hidhost.c @@ -839,9 +839,13 @@ static uint8_t bt_hid_virtual_unplug(struct hal_cmd_hidhost_virtual_unplug *cmd, static uint8_t bt_hid_info(struct hal_cmd_hidhost_set_info *cmd, uint16_t len) { - DBG("Not Implemented"); + /* Data from hal_cmd_hidhost_set_info is usefull only when we create + * UHID device. Once device is created all the transactions will be + * done through the fd. There is no way to use this information + * once device is created with HID internals. */ + DBG("Not supported"); - return HAL_STATUS_FAILED; + return HAL_STATUS_UNSUPPORTED; } static uint8_t bt_hid_get_protocol(struct hal_cmd_hidhost_get_protocol *cmd, -- 2.47.3