mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
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>
This commit is contained in:
parent
ae76eef027
commit
afdc7c18e9
@ -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) ||
|
WARN_ON_ONCE((sdata->vif.type != NL80211_IFTYPE_WDS && flushed > 0) ||
|
||||||
(sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1));
|
(sdata->vif.type == NL80211_IFTYPE_WDS && flushed != 1));
|
||||||
|
|
||||||
/*
|
/* don't count this interface for promisc/allmulti while it is down */
|
||||||
* 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.
|
|
||||||
*/
|
|
||||||
if (sdata->flags & IEEE80211_SDATA_ALLMULTI)
|
if (sdata->flags & IEEE80211_SDATA_ALLMULTI)
|
||||||
atomic_dec(&local->iff_allmultis);
|
atomic_dec(&local->iff_allmultis);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user