In usb/usb.c, usb_control_msg returns the value returned from usb_internal_control_msg. If the send was successful, this is the length of the send, otherwise, its the negative error. However, the comment for usb_control_msg says "If successful, it returns 0, otherwise, a negative error number". So, either the function needs changed or the comment.
-Chris _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel