commit | 45c71b0647cba0f199a8dfd1321c1b59a916cfe5 | [log] [tgz] |
---|---|---|
author | Zhihai Xu <zhihaixu@google.com> | Tue Apr 22 00:35:42 2014 +0530 |
committer | Zhihai Xu <zhihaixu@google.com> | Mon Apr 21 19:17:54 2014 +0000 |
tree | 3c36f21306063da34bcdf14a1e2b28b00abbf863 | |
parent | bf51271f145204a0489597ccd9c851daa7ee0ad7 [diff] |
HID: Use dynamic memory while sending report 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. CL from qcom(Hemant Gupta) Change-Id: Icc8cd4a4ecfd4bc30cbf848a7c865fcf9308ddf8