]> git.karo-electronics.de Git - linux-beck.git/commit
b43: fix crash with OpenFWWF
authorJohannes Berg <johannes.berg@intel.com>
Tue, 17 Jul 2012 15:12:29 +0000 (17:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:34:35 +0000 (15:34 -0400)
commit097b0e1bf18a00195cd89bb13565ddbc9b0df942
tree0095ee2f3b924038be51545f62ea502a724a18e1
parentd369f7b2b257ad6369b72d39e2f989833754a9ce
b43: fix crash with OpenFWWF

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>
Cc: stable@vger.kernel.org (depends on commit a6f38ac3)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c