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:
parent
60e8615ad6
commit
1738067e5d
|
@ -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...");
|
||||
|
|
Loading…
Reference in New Issue