commit | 79eb1a643a2e627e5fb2c9dae1cb6a56a15ff0cf | [log] [tgz] |
---|---|---|
author | Hemant Gupta <hemantg@codeaurora.org> | Tue Apr 22 00:23:21 2014 +0530 |
committer | Zhihai Xu <zhihaixu@google.com> | Mon Apr 21 20:32:03 2014 +0000 |
tree | b95115488788cde9aeb6b4c5583f831e0005acd1 | |
parent | fbaeb4a7b64a89c08a98b53766e250eb7bad8830 [diff] |
HID: Use dynamic memory while sending data This patch uses dynamic memory allocation while sending HID output data to remote device depending on size of data to be sent. Without this patch fixed size static buffer of 200 bytes was being used for sending data to remote device, which was resulting in crash in case data size to be sent to remote device was greater than 200 bytes. Change-Id: I5ed12422355e88d7ef0391668800d7619ca3b685