mac80211: move synchronize_net() before sta key removal
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 22:05:45 +0000 (23:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:46 +0000 (11:29 +0100)
There's no reason to do this inside the sta key removal
since the keys can only be reached through the sta (and
not by the driver at all) so once the sta can no longer
be reached, the keys are safe.

This will allow further optimisation opportunities with
multiple stations.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/key.c
net/mac80211/sta_info.c

Simple merge
Simple merge