mac80211: cleanup generic suspend/resume procedures

Since now we disconnect before suspend, various code which save
connection state can now be removed from suspend and resume
procedure. Cleanup on resume side is smaller as ieee80211_reconfig()
is also used for H/W restart.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Stanislaw Gruszka
2013-02-28 10:55:26 +01:00
committed by Johannes Berg
parent 8125696991
commit 12e7f51702
5 changed files with 6 additions and 154 deletions

View File

@@ -768,10 +768,6 @@ struct ieee80211_sub_if_data {
} debugfs;
#endif
#ifdef CONFIG_PM
struct ieee80211_bss_conf suspend_bss_conf;
#endif
/* must be last, dynamically sized area in this! */
struct ieee80211_vif vif;
};