iwl3945: fix resume for ADHOC network
commit9bdf5ecabf1cd2fb012f87d9742590fdd8290da0
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 7 Nov 2008 17:58:35 +0000 (7 09:58 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 21 Nov 2008 16:06:07 +0000 (21 11:06 -0500)
tree6ba0f1dd1e9f349cb64e76e1f0013d140f4eca69
parentada1751346b5539f393c2e9c9dc04d9e7078e53a
iwl3945: fix resume for ADHOC network

 ieee80211_notify_mac only reconnect BSS networks. Since IBSS does
 not need any auth or assoc steps we can just resume to the same
 condition before suspend. This patch will reestablish the ad-hoc
 network once it comes back from resume.

http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1774

Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c