ChangeSet 1.1257, 2003/06/18 16:55:41-07:00, [EMAIL PROTECTED]

[PATCH] USB: Actually Fix 2.4 HID input

Slight typo on my part for the 2.4 fix (no keyboard LEDs).


 drivers/usb/hid-input.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/hid-input.c b/drivers/usb/hid-input.c
--- a/drivers/usb/hid-input.c   Wed Jun 18 17:34:52 2003
+++ b/drivers/usb/hid-input.c   Wed Jun 18 17:34:52 2003
@@ -439,7 +439,7 @@
                return -1;
 
        for (k = HID_INPUT_REPORT; k <= HID_OUTPUT_REPORT; k++) {
-               report_enum = hid->report_enum + HID_INPUT_REPORT;
+               report_enum = hid->report_enum + k;
                list = report_enum->report_list.next;
                while (list != &report_enum->report_list) {
                        report = (struct hid_report *) list;



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to