Rémi Bernon : hidclass.sys: Keep pending IRPs with the report queues.

Alexandre Julliard julliard at winehq.org
Wed Sep 29 15:54:11 CDT 2021


Module: wine
Branch: master
Commit: 561e722a46e9ad178bc3e41b9b4a55ecde609cbf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=561e722a46e9ad178bc3e41b9b4a55ecde609cbf

Author: Rémi Bernon <rbernon at 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 at codeweavers.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=561e722a46e9ad178bc3e41b9b4a55ecde609cbf



More information about the wine-cvs mailing list