[PATCH] usb/hid-core: add set_current_state() before schedule_timeout()
Add set_current_state() before schedule_timeout() so that the task
delays as expected. Without the addition, schedule_timeout() will return
immediately on subsequent iterations of the while-loop.
Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
Showing
Please register or sign in to comment