From: Ivo van Doorn Date: Mon, 5 May 2008 15:23:47 +0000 (+0200) Subject: rt2x00: Fix broken recover-on-error path X-Git-Tag: v2.6.26-rc3~65^2~14^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed499983b88d138848ec9e4d104fd86a5ef0c183;p=pandora-kernel.git rt2x00: Fix broken recover-on-error path During initialization the initialize() callback function in rt2x00pci and rt2x00usb will cleanup the mess they made. rt2x00lib shouldn't call uninitialize because the callback function already cleaned up _and_ the DEVICE_INITIALIZED isn't set which causes the rt2x00lib_uninitialize() to halt directly anyway. All that is required to be cleaned up by rt2x00lib is the queue, and that can be done by calling rt2x00queue_uninitialize() directly. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed