[USBDRIVER]

- Fix a bug that resulted in us only copying half of the old keyboard data
- CID 10402

svn path=/trunk/; revision=50077
This commit is contained in:
Cameron Gutman 2010-12-21 04:35:12 +00:00
parent 95e952c388
commit e67bf5752c

View file

@ -277,7 +277,7 @@ kbd_irq(PURB purb, PVOID pcontext)
}
// Save old keyboard data
RtlCopyMemory(pdev_ext->kbd_old, data, sizeof(data));
RtlCopyMemory(pdev_ext->kbd_old, data, 8);
// resubmit the urb
status = usb_submit_urb(pdev_ext->dev_mgr, purb);