mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-25 20:15:08 +00:00
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>
This commit is contained in:
parent
cd6c524e9e
commit
0d392e938b
@ -1234,7 +1234,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
|
|||||||
|
|
||||||
switch (sdata->vif.type) {
|
switch (sdata->vif.type) {
|
||||||
case NL80211_IFTYPE_STATION:
|
case NL80211_IFTYPE_STATION:
|
||||||
changed |= BSS_CHANGED_ASSOC;
|
changed |= BSS_CHANGED_ASSOC |
|
||||||
|
BSS_CHANGED_ARP_FILTER;
|
||||||
mutex_lock(&sdata->u.mgd.mtx);
|
mutex_lock(&sdata->u.mgd.mtx);
|
||||||
ieee80211_bss_info_change_notify(sdata, changed);
|
ieee80211_bss_info_change_notify(sdata, changed);
|
||||||
mutex_unlock(&sdata->u.mgd.mtx);
|
mutex_unlock(&sdata->u.mgd.mtx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user