diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-10-11 15:39:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-11 21:04:26 +0200 |
commit | a13c8f3133b250e732c383b1c390d625e755db03 (patch) | |
tree | e95a4f2d6cbe22722628844bcbb808e119af52f9 /net/wireless/sysfs.c | |
parent | rt2x00: Don't perform watchdog checks on empty queue (diff) | |
download | linux-a13c8f3133b250e732c383b1c390d625e755db03.tar.xz linux-a13c8f3133b250e732c383b1c390d625e755db03.zip |
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 <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/sysfs.c')
0 files changed, 0 insertions, 0 deletions