Andriy Gapon 6703915ee7 adapt usb transfer code for SCHEDULER_STOPPED
When SCHEDULER_STOPPED() is true the mtx_owned() call may return
an unexpected and thus meaningless result.
So, in the code paths that can be reached when SCHEDULER_STOPPED() is true
we need to protect the mtx_owned() calls with the SCHEDULER_STOPPED()
checks and ensure that an appropriate branch is taken in each case.

Reviewed by:	hselasky
MFC after:	3 months
X-MFC after:	r228424
2011-12-21 10:52:17 +00:00
..
2011-12-17 10:23:17 +00:00
2011-11-12 08:16:45 +00:00
2010-10-13 22:04:55 +00:00
2011-11-12 08:16:45 +00:00
2011-11-12 08:16:45 +00:00
2011-11-12 08:16:45 +00:00
2011-04-03 20:03:45 +00:00
2011-04-03 20:03:45 +00:00
2011-11-12 08:16:45 +00:00
2011-11-09 18:48:36 +00:00
2011-12-17 15:38:16 +00:00