Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149994
b: refs/heads/master
c: 29b4a4f
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Apr 22, 2009
1 parent aaff498 commit f4298e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 0cf4c01ebe2ccf4487fe9301bab905365dca06c3
refs/heads/master: 29b4a4f7c7b588b5568edd0da42f38623b81fc66
6 changes: 3 additions & 3 deletions trunk/net/mac80211/ibss.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,14 +784,14 @@ void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local)
{
struct ieee80211_sub_if_data *sdata;

rcu_read_lock();
list_for_each_entry_rcu(sdata, &local->interfaces, list) {
mutex_lock(&local->iflist_mtx);
list_for_each_entry(sdata, &local->interfaces, list) {
if (sdata->vif.type != NL80211_IFTYPE_ADHOC)
continue;
sdata->u.ibss.last_scan_completed = jiffies;
ieee80211_sta_find_ibss(sdata);
}
rcu_read_unlock();
mutex_unlock(&local->iflist_mtx);
}

ieee80211_rx_result
Expand Down

0 comments on commit f4298e2

Please sign in to comment.