patch-2.3.99-pre4 linux/drivers/usb/hid.c

Next file: linux/drivers/usb/hub.c
Previous file: linux/drivers/usb/evdev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/drivers/usb/hid.c linux/drivers/usb/hid.c
@@ -1288,7 +1288,7 @@
 					hid_configure_usage(hid, report->field[i], report->field[i]->usage + j);
 
 			if (k == HID_INPUT_REPORT)  {
-				usb_set_idle(hid->dev, hid->ifnum, report->id, 0);
+				usb_set_idle(hid->dev, hid->ifnum, 0, report->id);
 				hid_read_report(hid, report);
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)