aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-13 17:07:46 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 07:01:16 -0500
commitb998e8bb3e1c6eeae5eab9d6a434563270286c3b (patch)
tree123f50adba77eec78f3c69eac4f872ff4cce0087 /net/mac80211/mesh.c
parent0f6dfcee2e081f47a3e97cb8984fb4d62217e6f7 (diff)
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/mesh.c')
-rw-r--r--net/mac80211/mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 8565c00cb644..8a9d5d03bbc2 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -656,7 +656,7 @@ void ieee80211_stop_mesh(struct ieee80211_sub_if_data *sdata)
656 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED); 656 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED);
657 657
658 /* flush STAs and mpaths on this iface */ 658 /* flush STAs and mpaths on this iface */
659 sta_info_flush(sdata->local, sdata); 659 sta_info_flush(sdata);
660 mesh_path_flush_by_iface(sdata); 660 mesh_path_flush_by_iface(sdata);
661 661
662 del_timer_sync(&sdata->u.mesh.housekeeping_timer); 662 del_timer_sync(&sdata->u.mesh.housekeeping_timer);