b43/b43legacy: Wake queues in wireless_core_start
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 3 Feb 2010 19:33:44 +0000 (13:33 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:50:00 +0000 (08:50 -0700)
commit81fc8e0872c9f00ee7fb01305822758cb4bb8a2d
tree8c74bf6497474e81c4edad92631748626ca2dd22
parentd86f9979af6e6659158eace36273ecd401ee8a81
b43/b43legacy: Wake queues in wireless_core_start

commit 0866b03c7d7dee8a34ffa527ecda426c0f405518 upstream.

If b43 or b43legacy are deauthenticated or disconnected, there is a
possibility that a reconnection is tried with the queues stopped in
mac80211. To prevent this, start the queues before setting
STAT_INITIALIZED.

In b43, a similar change has been in place (twice) in the
wireless_core_init() routine. Remove the duplicate and add similar
code to b43legacy.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/main.c