Revert "mac80211: add driver callback for per-interface multicast filter"
This reverts commit 488b366a45.
The code isn't used by anyone, and the Intel driver isn't planning
to use it either right now.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
@@ -1018,17 +1018,6 @@ static void ieee80211_set_multicast_list(struct net_device *dev)
|
||||
atomic_dec(&local->iff_promiscs);
|
||||
sdata->flags ^= IEEE80211_SDATA_PROMISC;
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: If somebody needs this on AP interfaces,
|
||||
* it can be enabled easily but multicast
|
||||
* addresses from VLANs need to be synced.
|
||||
*/
|
||||
if (sdata->vif.type != NL80211_IFTYPE_MONITOR &&
|
||||
sdata->vif.type != NL80211_IFTYPE_AP_VLAN &&
|
||||
sdata->vif.type != NL80211_IFTYPE_AP)
|
||||
drv_set_multicast_list(local, sdata, &dev->mc);
|
||||
|
||||
spin_lock_bh(&local->filter_lock);
|
||||
__hw_addr_sync(&local->mc_list, &dev->mc, dev->addr_len);
|
||||
spin_unlock_bh(&local->filter_lock);
|
||||
|
||||
Reference in New Issue
Block a user