Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d392e93 authored by Eliad Peller's avatar Eliad Peller Committed by John W. Linville
Browse files

mac80211: configure BSS_CHANGED_ARP_FILTER on reconfiguration



Configure arp filtering on sta reconfiguration.

Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cd6c524e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);