summaryrefslogtreecommitdiff
path: root/android/hal-hidhost.c
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2013-11-05 23:09:11 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-06 10:18:01 +0200
commite8b0c8f13d41a134ae670aa4b804d7799394ee40 (patch)
tree5a48f11da98fa556785fca3c9cccc81a5b17ca64 /android/hal-hidhost.c
parent125099108f20fcf94cbcb1766233993d8663c829 (diff)
downloadbluez-e8b0c8f13d41a134ae670aa4b804d7799394ee40.tar.gz
android/hid: Implement hid get report in daemon
This patch requests hid device report and reads reply message and sends notification to HAL.
Diffstat (limited to 'android/hal-hidhost.c')
-rw-r--r--android/hal-hidhost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hal-hidhost.c b/android/hal-hidhost.c
index 13928e672..f554cb245 100644
--- a/android/hal-hidhost.c
+++ b/android/hal-hidhost.c
@@ -251,6 +251,7 @@ static bt_status_t hh_get_report(bt_bdaddr_t *bd_addr,
memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
cmd.id = reportId;
+ cmd.buf = bufferSize;
switch (reportType) {
case BTHH_INPUT_REPORT: