diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-13 23:07:46 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 13:01:16 +0100 |
commit | b998e8bb3e1c6eeae5eab9d6a434563270286c3b (patch) | |
tree | 123f50adba77eec78f3c69eac4f872ff4cce0087 /net/mac80211/mlme.c | |
parent | wireless: more 'capability info' bits (diff) | |
download | linux-b998e8bb3e1c6eeae5eab9d6a434563270286c3b.tar.xz linux-b998e8bb3e1c6eeae5eab9d6a434563270286c3b.zip |
mac80211: remove final sta_info_flush()
When all interfaces have been removed, there can't
be any stations left over, so there's no need to
flush again. Remove this, and all code associated
with it, which also simplifies the function.
Tested-by: Ben Greear <greearb@candelatech.com>
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 a3552929a21d..6d61d2f88716 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1521,7 +1521,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(local, sdata); + sta_info_flush(sdata); /* finally reset all BSS / config parameters */ changed |= ieee80211_reset_erp_info(sdata); |