diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-01-14 10:39:07 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-18 15:20:34 -0500 |
commit | 0f19b41e223d787251c59137e61fc5145c13d1c4 (patch) | |
tree | 32715057d43ecb8a35b36f97320225f12094de70 /net/mac80211/iface.c | |
parent | de5fad815703b5b24bc4726cd71422929537d259 (diff) |
mac80211: remove ARP filter enable/disable logic
Depending on the driver, having ARP filtering for
some addresses may be possible. Remove the logic
that tracks whether ARP filter is enabled or not
and give the driver the total number of addresses
instead of the length of the list so it can make
its own decision.
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r-- | net/mac80211/iface.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 06fac2991d40..0a36dc6346bb 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -1574,9 +1574,6 @@ int ieee80211_if_add(struct ieee80211_local *local, const char *name, | |||
1574 | /* initialise type-independent data */ | 1574 | /* initialise type-independent data */ |
1575 | sdata->wdev.wiphy = local->hw.wiphy; | 1575 | sdata->wdev.wiphy = local->hw.wiphy; |
1576 | sdata->local = local; | 1576 | sdata->local = local; |
1577 | #ifdef CONFIG_INET | ||
1578 | sdata->arp_filter_state = true; | ||
1579 | #endif | ||
1580 | 1577 | ||
1581 | for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) | 1578 | for (i = 0; i < IEEE80211_FRAGMENT_MAX; i++) |
1582 | skb_queue_head_init(&sdata->fragments[i].skb_list); | 1579 | skb_queue_head_init(&sdata->fragments[i].skb_list); |