p54: fix misbehavings when firmware can't be found
authorChristian Lamparter <chunkeey@web.de>
Wed, 22 Oct 2008 12:19:56 +0000 (14:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2008 21:46:10 +0000 (17:46 -0400)
commit35961627d3e7a4093eb307d782541700e9addec6
treedb3b56dea898ed36833899ca166736a3d931e753
parent8b5f12d04b2e93842f3dda01f029842047bf3f81
p54: fix misbehavings when firmware can't be found

This patch fixes a double-free error in p54pci
( http://bugzilla.kernel.org/show_bug.cgi?id=11782 )

Trying to free already-free IRQ 10
Pid: 108, comm: pccardd Not tainted 2.6.27-05577-g0cfd810-dirty #1
Call Trace:
 [<c01265dc>] free_irq+0xad/0xb9
 [<c01050dd>] dma_generic_alloc_coherent+0x0/0xd7
 [<c01ba8e6>] p54p_stop+0x4a/0x1fa
 [<c01050dd>] dma_generic_alloc_coherent+0x0/0xd7
 [<c02348c5>] p54p_probe+0x23e/0x302

Tested-by: Sean Young
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54pci.c