firewire: core: Remove card from list of cards when enable fails
authorPetr Vandrovec <petr@vandrovec.name>
Sun, 1 Feb 2009 09:29:35 +0000 (01:29 -0800)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 1 Feb 2009 10:17:24 +0000 (11:17 +0100)
commitb7479febdecf8e12951aecb0b405e4655aa3dae6
treeccc9c5c692a6e515194a190d9efd184faa610a1e
parent1448d7c6a2ff96d3b52ecae49e2d0f046a097fe0
firewire: core: Remove card from list of cards when enable fails

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>

After a controller initialization failure, addition of another card got
stuck due to card_list corruption.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c