diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-12-03 13:21:36 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-03 13:21:55 +0100 |
commit | 18cfd3bfc904e2360af3a1c059c84b3f1944afb4 (patch) | |
tree | 1a46029642ddab79a64f659e7e03dad2d8ac86db /net/mac80211/iface.c | |
parent | mac80211: fix rx_nss calculation for drivers with hw rc (diff) | |
download | linux-18cfd3bfc904e2360af3a1c059c84b3f1944afb4.tar.xz linux-18cfd3bfc904e2360af3a1c059c84b3f1944afb4.zip |
Revert "mac80211: add driver callback for per-interface multicast filter"
This reverts commit 488b366a452934141959384c7a1b52b22d6154ef.
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>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index d226751ba63a..3e5c89a295b9 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -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); |