b43: Fix rfkill allocation leakage in error paths
commit1946a2c3c6d138f0e1face8734226d9ba090e831
authorMichael Buesch <mb@bu3sch.de>
Wed, 23 Jan 2008 11:02:35 +0000 (23 12:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:35 +0000 (31 19:26 -0800)
tree066a7856f2c1806083776e6a3914ddf0c2d20c91
parentbe9b72590c05daf34c2b55cd5b7c68375a4a795b
b43: Fix rfkill allocation leakage in error paths

We must kill rfkill in any error paths that trigger after rfkill init.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/b43/main.c