]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/mac80211/sta_info.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[net-next-2.6.git] / net / mac80211 / sta_info.c
index ba9360a475b0c15f657017f5ca5b93997a70dd49..4607da9a6ff74b0ea38df13bb82add54bd3ed558 100644 (file)
@@ -648,14 +648,6 @@ static int __must_check __sta_info_destroy(struct sta_info *sta)
 
        if (sta->key) {
                ieee80211_key_free(sta->key);
-               /*
-                * We have only unlinked the key, and actually destroying it
-                * may mean it is removed from hardware which requires that
-                * the key->sta pointer is still valid, so flush the key todo
-                * list here.
-                */
-               ieee80211_key_todo();
-
                WARN_ON(sta->key);
        }