summaryrefslogtreecommitdiff
path: root/hid/hclient/report.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid/hclient/report.c')
-rw-r--r--hid/hclient/report.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hid/hclient/report.c b/hid/hclient/report.c
index f1d9ee55..02fb95a9 100644
--- a/hid/hclient/report.c
+++ b/hid/hclient/report.c
@@ -513,7 +513,7 @@ Routine Description:
ULONG i;
ULONG CurrReportID;
BOOLEAN result = FALSE;
-
+ PHID_DATA Head = Data;
/*
// All report buffers that are initially sent need to be zero'd out
*/
@@ -584,6 +584,7 @@ Routine Description:
// having been set.
*/
+ Data = Head;
for (i = 0; i < DataLength; i++, Data++)
{
if (CurrReportID == Data -> ReportID)