diff options
author | Eliad Peller <eliad@wizery.com> | 2011-12-12 07:10:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-12-13 15:34:11 -0500 |
commit | 0d392e938b55935cf4137e05a23009dc168481c3 (patch) | |
tree | ae7582c86d6172df6bd13ae9d37c2c86ce9063dc /net/mac80211 | |
parent | cd6c524e9e0b5ad8ce52bc3b4a3a1e272e3a8410 (diff) |
mac80211: configure BSS_CHANGED_ARP_FILTER on reconfiguration
Configure arp filtering on sta reconfiguration.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index ac7ea2949de0..eb1a5f737a9c 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c | |||
@@ -1234,7 +1234,8 @@ int ieee80211_reconfig(struct ieee80211_local *local) | |||
1234 | 1234 | ||
1235 | switch (sdata->vif.type) { | 1235 | switch (sdata->vif.type) { |
1236 | case NL80211_IFTYPE_STATION: | 1236 | case NL80211_IFTYPE_STATION: |
1237 | changed |= BSS_CHANGED_ASSOC; | 1237 | changed |= BSS_CHANGED_ASSOC | |
1238 | BSS_CHANGED_ARP_FILTER; | ||
1238 | mutex_lock(&sdata->u.mgd.mtx); | 1239 | mutex_lock(&sdata->u.mgd.mtx); |
1239 | ieee80211_bss_info_change_notify(sdata, changed); | 1240 | ieee80211_bss_info_change_notify(sdata, changed); |
1240 | mutex_unlock(&sdata->u.mgd.mtx); | 1241 | mutex_unlock(&sdata->u.mgd.mtx); |