mac80211: configure BSS_CHANGED_ARP_FILTER on reconfiguration
authorEliad Peller <eliad@wizery.com>
Mon, 12 Dec 2011 12:10:49 +0000 (14:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:34:11 +0000 (15:34 -0500)
Configure arp filtering on sta reconfiguration.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c

index ac7ea2949de0ae870ccc445f872f50e140d58857..eb1a5f737a9cabd163d4bf9a039d0e39167cda5e 100644 (file)
@@ -1234,7 +1234,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
 
                switch (sdata->vif.type) {
                case NL80211_IFTYPE_STATION:
-                       changed |= BSS_CHANGED_ASSOC;
+                       changed |= BSS_CHANGED_ASSOC |
+                                  BSS_CHANGED_ARP_FILTER;
                        mutex_lock(&sdata->u.mgd.mtx);
                        ieee80211_bss_info_change_notify(sdata, changed);
                        mutex_unlock(&sdata->u.mgd.mtx);