mirror of
https://github.com/Lekensteyn/ltunify.git
synced 2025-12-09 18:05:34 +00:00
When a touchpad event occurs while the device is being queried (e.g. for features), then do_io (for do_read) would fail because the report was not of the correct type (0x20 vs 0x11 for example). To fix this, make do_read retry reads (within the allowed timeout). Previously the expected report type was hidden in the msg parameter, make this expected report type more explicit now in a new parameter.
960 B
960 B