On Thu, Apr 03, 2014 at 05:37:01PM +0200, Jakub Kiciński wrote: > On Thu, 3 Apr 2014 16:12:07 +0200, Richard Genoud wrote: > > rt2x00usb_register_read_lock() calls rt2x00usb_vendor_req_buff_lock() > > that calls rt2x00usb_vendor_request() which is already looping up to > > REGISTER_BUSY_COUNT times. > > > > So this loop is not needed. > > Not true. rt2x00usb_vendor_request() busy-waits for usb_control_msg() > to succeed, rt2x00usb_register_read_lock() busy-waits for the register > field itself to become 0. Yeah, but still we are looping REGISTER_BUSY_COUNT*REGISTER_BUSY_COUNT what seems to be far too long. Stanislaw -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html