Staging: hv: mousevsc: Correctly initialize the header size

Correctly initialize the header size.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
K. Y. Srinivasan 2011-09-29 11:54:46 -07:00 committed by Greg Kroah-Hartman
parent 60e8615ad6
commit 1738067e5d
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ static int mousevsc_connect_to_vsp(struct hv_device *device)
request->size = sizeof(struct synthhid_protocol_request);
request->request.header.type = SynthHidProtocolRequest;
request->request.header.size = sizeof(unsigned long);
request->request.header.size = sizeof(unsigned int);
request->request.version_requested.version = SYNTHHID_INPUT_VERSION;
pr_info("synthhid protocol request...");