iwlwifi/iwl3945: fix suspend resume association bug
commit8a9b99267cb3b51d4e59693c03e1204d86b42445
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Fri, 12 Jun 2009 20:22:52 +0000 (12 13:22 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Jun 2009 19:05:53 +0000 (15 15:05 -0400)
tree78d92df7a96f786820148b63c53cd40a53117587
parent611d3eb72aa7847a1081e6c1ac05fd2012652cde
iwlwifi/iwl3945: fix suspend resume association bug

Patch fixes the following bugs at
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=2005
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=2007

If we suspend with an association and then resumed,
we need to synchronize the active rxon with staging rxon,
else we will get an error when iwl_alive_start try to commit
rxon and staging is set to channel 0. Before going to suspend
staging and active rxon are in sync. After resuming from the
suspend, iwl_mac_start is called and it clears the staging
rxon. Patch fixes the bug by not clearing the staging rxon
in iwl_mac_start.

Patch also adds similar fix to 3945.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c