]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
b43: Fix suspend/resume
authorMichael Buesch <mb@bu3sch.de>
Fri, 25 Jan 2008 11:11:45 +0000 (12:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Feb 2008 19:46:26 +0000 (11:46 -0800)
commitb3b222ff9374f16ed55aad252b1817980699b9b7
treeec45b5d55a166e3870d0a044501bcc3d6f747960
parentdbccde6478f3d8d11762d5f19322cbc152d4c99d
b43: Fix suspend/resume

patch 7be1bb6b798d506693d2d8668e801951996b5a4a in mainline.

This patch makes suspend/resume work with the b43 driver.
We must not overwrite the MAC addresses in the init function, as this
would also overwrite the MAC on resume. With an all-zero MAC the device
firmware is not able to ACK any received packets anymore.
Fix this by moving the initializion stuff that must be done on init but
not on resume to the start function.
Also zero out filter_flags to make sure we don't have some flags
from a previous instance for a tiny timeframe until mac80211 reconfigures
them.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43/main.c