mac80211: configure BSS_CHANGED_ARP_FILTER on reconfiguration
Eliad Peller [Mon, 12 Dec 2011 12:10:49 +0000 (14:10 +0200)]
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 ac7ea29..eb1a5f7 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);