commit | 41cc9f729ba15768378d4adf324e2a74b939cb8e | [log] [tgz] |
---|---|---|
author | Amirhossein Simjour <asimjour@google.com> | Mon Jul 20 14:29:19 2015 -0400 |
committer | Pavlin Radoslavov <pavlin@google.com> | Mon Jul 27 23:09:14 2015 +0000 |
tree | 8ccde1d457cff7abb856837f783108143caca698 | |
parent | 117b269d9add2ae4914b1d149d049f58bb30c3f3 [diff] |
Fix for uhid_event size check The uhid_event function used to expect that the return value of each read function call to match with the size of the struct uhid_event. Since the header file doesn't match the kernel driver, these two size don't always match. The exact size check is replaced with expecting the minimum required size. Bug: 20108348 Change-Id: Ib61537092b109296f8290d802b68fc2efe78888c