]> 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)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Oct 2012 17:18:09 +0000 (13:18 -0400)
commitf89ff6441df06abc2d95f3ef67525923032d6283
treef6980ed0d4132092feb561cf0956b0759523395d
parent6fcf2b10533bf51c67f0286ddba16e958e7ed972
b43: Fix oops on unload when firmware not found

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: Stable <stable@vger.kernel.org> [V3.3.0+ (the patch will need to be refactored)]
Cc: Markus Kanet <dvmailing@gmx.eu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c