Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a87f807b authored by Amirhossein Simjour's avatar Amirhossein Simjour
Browse files

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
parent fa8ba1e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment