diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-12 23:37:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-12 23:37:29 +0100 |
commit | ddd535c713c788f3c23c6548c4ba985a7593113c (patch) | |
tree | bb7ed2fc52c1e99803c47e4c2134ced01161f1f2 /net | |
parent | niu: Fix readq implementation when architecture does not provide one. (diff) | |
parent | hostap: pad the skb->cb usage in lieu of a proper fix (diff) | |
download | linux-ddd535c713c788f3c23c6548c4ba985a7593113c.tar.xz linux-ddd535c713c788f3c23c6548c4ba985a7593113c.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mlme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 87665d7bb4f9..14d165f0df75 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -2570,14 +2570,14 @@ void ieee80211_notify_mac(struct ieee80211_hw *hw, switch (notif_type) { case IEEE80211_NOTIFY_RE_ASSOC: - rcu_read_lock(); - list_for_each_entry_rcu(sdata, &local->interfaces, list) { + rtnl_lock(); + list_for_each_entry(sdata, &local->interfaces, list) { if (sdata->vif.type != NL80211_IFTYPE_STATION) continue; ieee80211_sta_req_auth(sdata, &sdata->u.sta); } - rcu_read_unlock(); + rtnl_unlock(); break; } } |