diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2013-02-28 10:55:26 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-06 16:35:56 +0100 |
commit | 12e7f517029dad819c45eca9ca01fdb9ba57616b (patch) | |
tree | 38ca321ba277bc918ec58c2f3e2870867d355dec /net/mac80211/key.c | |
parent | cfg80211/mac80211: disconnect on suspend (diff) | |
download | linux-12e7f517029dad819c45eca9ca01fdb9ba57616b.tar.xz linux-12e7f517029dad819c45eca9ca01fdb9ba57616b.zip |
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>
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index ef252eb58c36..df81b178c594 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -566,20 +566,6 @@ void ieee80211_iter_keys(struct ieee80211_hw *hw, } EXPORT_SYMBOL(ieee80211_iter_keys); -void ieee80211_disable_keys(struct ieee80211_sub_if_data *sdata) -{ - struct ieee80211_key *key; - - ASSERT_RTNL(); - - mutex_lock(&sdata->local->key_mtx); - - list_for_each_entry(key, &sdata->key_list, list) - ieee80211_key_disable_hw_accel(key); - - mutex_unlock(&sdata->local->key_mtx); -} - void ieee80211_free_keys(struct ieee80211_sub_if_data *sdata) { struct ieee80211_key *key, *tmp; |