linux/drivers/net/wireless/b43legacy
Stefano Brivio ada50731c0 b43legacy: fix suspend/resume
This patch makes suspend/resume work with the b43legacy 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.

This patch by Michael Buesch has been ported to b43legacy.

Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-02-05 14:35:46 -05:00
..
Kconfig b43legacy: fix kconfig dependecies for rfkill and leds 2008-01-28 15:04:37 -08:00
Makefile b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
b43legacy.h b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
debugfs.c b43legacy: properly fix a bogus gcc warning 2008-01-28 15:05:02 -08:00
debugfs.h
dma.c b43/b43legacy: fix left-over URLs and ifdefs 2007-11-29 21:34:51 -05:00
dma.h
ilt.c b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
ilt.h
leds.c b43legacy: Fix rfkill radio LED 2008-01-28 15:07:25 -08:00
leds.h b43legacy: LED triggers support 2008-01-28 15:03:26 -08:00
main.c b43legacy: fix suspend/resume 2008-02-05 14:35:46 -05:00
main.h b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
phy.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
phy.h b43legacy: Remove the PHY spinlock 2008-01-28 15:10:42 -08:00
pio.c b43legacy: fix PIO crash 2008-02-05 14:35:46 -05:00
pio.h
radio.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
radio.h b43/b43legacy: fix my copyright notices 2008-01-28 15:04:31 -08:00
rfkill.c b43legacy: fix use-after-free rfkill bug 2008-01-28 15:10:10 -08:00
rfkill.h b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
sysfs.c
sysfs.h
xmit.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
xmit.h