Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278933
b: refs/heads/master
c: 53d69c3
h: refs/heads/master
i:
  278931: be5fbfe
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Dec 13, 2011
1 parent decd3a6 commit 908b33e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d392e938b55935cf4137e05a23009dc168481c3
refs/heads/master: 53d69c399abf3b382c1e737ff9402d31ca5a7a51
5 changes: 1 addition & 4 deletions trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,6 @@ static int ieee80211_ifa_changed(struct notifier_block *nb,
sdata = IEEE80211_DEV_TO_SUB_IF(ndev);
bss_conf = &sdata->vif.bss_conf;

if (!ieee80211_sdata_running(sdata))
return NOTIFY_DONE;

/* ARP filtering is only supported in managed mode */
if (sdata->vif.type != NL80211_IFTYPE_STATION)
return NOTIFY_DONE;
Expand Down Expand Up @@ -424,7 +421,7 @@ static int ieee80211_ifa_changed(struct notifier_block *nb,
}
bss_conf->arp_addr_cnt = c;

/* Configure driver only if associated */
/* Configure driver only if associated (which also implies it is up) */
if (ifmgd->associated) {
bss_conf->arp_filter_enabled = sdata->arp_filter_state;
ieee80211_bss_info_change_notify(sdata,
Expand Down

0 comments on commit 908b33e

Please sign in to comment.