aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-03-27 22:40:22 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-04-08 09:16:59 +0200
commitafdc7c18e9f2a768865b6caa886e605719a6304e (patch)
treec673f7ec09cdfa8a656e11ff46a39fcef45f93e7 /net/mac80211/iface.c
parentmac80211: return new mpath from mesh_path_add() (diff)
downloadlinux-dev-afdc7c18e9f2a768865b6caa886e605719a6304e.tar.xz
linux-dev-afdc7c18e9f2a768865b6caa886e605719a6304e.zip
mac80211: remove outdated comment referring to master interface
The code now explicitly calls ieee80211_configure_filter() anyway, so nothing needs to be explained. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 2bdbf14e7b74..760268e51951 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -718,12 +718,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
WARN_ON_ONCE((sdata->vif.type != NL80211_IFTYPE_WDS && flushed > 0) ||
(sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1));
- /*
- * Don't count this interface for promisc/allmulti while it
- * is down. dev_mc_unsync() will invoke set_multicast_list
- * on the master interface which will sync these down to the
- * hardware as filter flags.
- */
+ /* don't count this interface for promisc/allmulti while it is down */
if (sdata->flags & IEEE80211_SDATA_ALLMULTI)
atomic_dec(&local->iff_allmultis);