diff options
author | Stefano Brivio <stefano.brivio@polimi.it> | 2008-02-02 13:15:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-05 14:35:46 -0500 |
commit | ada50731c0346bf900dc387edd3a6961297bf2d3 (patch) | |
tree | 4078a2d9fc93451e1414047cbc235f08e033f815 /drivers/net/wireless/b43legacy/radio.h | |
parent | 0cd67d48b519c3d8d89d238fab1cf68a5289638a (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/b43legacy/radio.h')
0 files changed, 0 insertions, 0 deletions