]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
b43: Fix oops on unload when firmware not found
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Oct 2012 13:57:16 +0000 (08:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:20 +0000 (10:10 -0700)
commit4ade7d2eedda437e2197b57e449a308e06f9bb4d
tree5f9a4ff134e9aa9ca12c0108e3da287e24a8019e
parentcbc71967da7f3643d668a28b26d830e672891ab0
b43: Fix oops on unload when firmware not found

commit f89ff6441df06abc2d95f3ef67525923032d6283 upstream.

When b43 fails to find firmware when loaded, a subsequent unload will
oops due to calling ieee80211_unregister_hw() when the corresponding
register call was never made.

Commit 2d838bb608e2d1f6cb4280e76748cb812dc822e7 fixed the same problem
for b43legacy.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Markus Kanet <dvmailing@gmx.eu>
Cc: Markus Kanet <dvmailing@gmx.eu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/b43/main.c