Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183588
b: refs/heads/master
c: 81ac346
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 12, 2010
1 parent 81095a9 commit 5f9adf0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34a6eddbabd704b3c7dae9362234552267573be2
refs/heads/master: 81ac3462d346ee7aaf037a35156b0a7a354e98cf
1 change: 1 addition & 0 deletions trunk/net/mac80211/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ void ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted)
ieee80211_mlme_notify_scan_completed(local);
ieee80211_ibss_notify_scan_completed(local);
ieee80211_mesh_notify_scan_completed(local);
ieee80211_queue_work(&local->hw, &local->work_work);
}
EXPORT_SYMBOL(ieee80211_scan_completed);

Expand Down
4 changes: 4 additions & 0 deletions trunk/net/mac80211/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ static void ieee80211_work_work(struct work_struct *work)
wk->chan == local->tmp_channel &&
wk->chan_type == local->tmp_channel_type) {
wk->started = true;
wk->timeout = jiffies;
}

if (!wk->started && !local->tmp_channel) {
Expand Down Expand Up @@ -935,6 +936,9 @@ void ieee80211_add_work(struct ieee80211_work *wk)
if (WARN_ON(!wk->done))
return;

if (WARN_ON(!ieee80211_sdata_running(wk->sdata)))
return;

wk->started = false;

local = wk->sdata->local;
Expand Down

0 comments on commit 5f9adf0

Please sign in to comment.