• I
    rt2x00: Fix broken recover-on-error path · ed499983
    Ivo van Doorn 提交于
    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: NIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    ed499983
rt2x00dev.c 33.1 KB