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-15 12:14:15 +00:00
2011-12-17 15:48:55 +00:00
2011-10-27 14:15:26 +00:00
2011-12-17 15:48:55 +00:00
2011-12-16 14:28:34 +00:00
2011-11-26 23:57:03 +00:00
2011-12-13 13:38:03 +00:00
2011-12-15 06:29:13 +00:00