Skip to content

Commit

Permalink
mac80211: remove outdated comment referring to master interface
Browse files Browse the repository at this point in the history
The code now explicitly calls ieee80211_configure_filter()
anyway, so nothing needs to be explained.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Johannes Berg committed Apr 8, 2013
1 parent ae76eef commit afdc7c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit afdc7c1

Please sign in to comment.