]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: fix crash with OpenFWWF
authorJohannes Berg <johannes.berg@intel.com>
Tue, 17 Jul 2012 15:12:29 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:22:52 +0000 (08:22 -0700)
commit77a797164fa64308ead7da0b1898895979f10b15
treed4b3b9f0207cc7e19027cafc1d164deb2242d05e
parentf616071b3dc6a09b4b364ba9f020aa744df68b61
b43: fix crash with OpenFWWF

commit 097b0e1bf18a00195cd89bb13565ddbc9b0df942 upstream.

b43 with open firmware crashes mac80211 because
it changes the number of queues at runtime which,
while it was never really supported, now crashes
mac80211 due to the new hardware queue logic.

Fix this by detecting open vs. proprietary fw
earlier and registering with mac80211 with the
right number of queues.

Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c