summaryrefslogtreecommitdiff
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-11-14 23:15:43 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-11-14 23:15:43 +0400
commitbd2a81307487eba486f200423330d2403d0b893b (patch)
treef15102f503619bcbd266acf650ade8b7b17f1c04 /net/mac80211/util.c
parent6fe7cc71bbf3a0bc28c9cec3c00bc11e81344412 (diff)
parent43c771a1963ab461a2f194e3c97fded1d5fe262f (diff)
downloadlinux-bd2a81307487eba486f200423330d2403d0b893b.tar.xz
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index 239391807ca9..0151ae33c4cd 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1491,6 +1491,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
list_for_each_entry(sdata, &local->interfaces, list) {
if (sdata->vif.type != NL80211_IFTYPE_STATION)
continue;
+ if (!sdata->u.mgd.associated)
+ continue;
ieee80211_send_nullfunc(local, sdata, 0);
}