From: Vojtech P. <vo...@us...> - 2002-01-27 00:22:48
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/usb In directory usw-pr-cvs1:/tmp/cvs-serv13867 Modified Files: hid-core.c Log Message: Only use output pipe for output reports. Feature reports still need to be passed over the control pipe. Index: hid-core.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/usb/hid-core.c,v retrieving revision 1.41 retrieving revision 1.42 diff -u -d -r1.41 -r1.42 --- hid-core.c 2002/01/26 19:20:37 1.41 +++ hid-core.c 2002/01/27 00:22:46 1.42 @@ -1093,7 +1093,7 @@ int head; unsigned long flags; - if (dir == USB_DIR_OUT && hid->urbout) { + if (hid->urbout && dir == USB_DIR_OUT && report->type == HID_OUTPUT_REPORT) { spin_lock_irqsave(&hid->outlock, flags); |