Module: wine Branch: master Commit: 561e722a46e9ad178bc3e41b9b4a55ecde609cbf URL: https://source.winehq.org/git/wine.git/?a=commit;h=561e722a46e9ad178bc3e41b9...
Author: Rémi Bernon rbernon@codeweavers.com Date: Fri Sep 24 10:07:12 2021 +0200
hidclass.sys: Keep pending IRPs with the report queues.
Since d15358518b83384b137e81b71729c4f47fac0665 we only complete one pending IRP per HID report, but there may be more than one IRP queued, from different readers.
This causes trouble and report interleaving when more than one reader accesses a device at a time. We need to complete only one for each report queue instead.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com Signed-off-by: Aric Stewart aric@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/hidclass.sys/device.c | 158 ++++++++++++++++++++++++++------------------- dlls/hidclass.sys/hid.h | 6 +- dlls/hidclass.sys/pnp.c | 20 ++---- 3 files changed, 98 insertions(+), 86 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=561e722a46e9ad178bc3e...