]> git.baikalelectronics.ru Git - kernel.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)
commitc18654eaa056d82ef14c39fab6c6d2f6424e4245
tree0095ee2f3b924038be51545f62ea502a724a18e1
parentdc5207157cafb2b13854059a11636d327916ae1e
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 79326af2)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c