From: Ivo van Doorn Date: Mon, 11 Oct 2010 13:39:48 +0000 (+0200) Subject: rt2x00: Fix URB error handling X-Git-Tag: v2.6.37-rc1~147^2~78^2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13c8f3133b250e732c383b1c390d625e755db03;p=pandora-kernel.git rt2x00: Fix URB error handling kill_urb guarentees that when the function returns, the URB has been fully killed. This means we don't need the extra sleeping after the call to kill_urb. kill_urb can however also guarentee the submit_urb to fail, as a result, we must catch the return value from submit_urb an correctly mark the entry as owned by the driver, and the status as broken. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed