diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-04 22:46:11 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 11:29:45 +0100 |
commit | d34ba2168a3c10e7301cca06069c39865b4c3ec6 (patch) | |
tree | 709e9c81eba18202588852e39d66fcf893334451 /net/mac80211/mlme.c | |
parent | a710c8160dd93e981163759aad754f758850273a (diff) | |
download | op-kernel-dev-d34ba2168a3c10e7301cca06069c39865b4c3ec6.zip op-kernel-dev-d34ba2168a3c10e7301cca06069c39865b4c3ec6.tar.gz |
mac80211: don't delay station destruction
If we can assume that stations are never referenced by the
driver after sta_state returns (and this is true since the
previous iwlmvm patch and for all other drivers) then we
don't need to delay station destruction, and don't need to
play tricks with rcu_barrier() etc.
This should speed up some scenarios like hostapd shutdown.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 900ead3..9c2c7ee 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1698,7 +1698,7 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, memset(ifmgd->bssid, 0, ETH_ALEN); /* remove AP and TDLS peers */ - sta_info_flush_defer(sdata); + sta_info_flush(sdata); /* finally reset all BSS / config parameters */ changed |= ieee80211_reset_erp_info(sdata); |