Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194245
b: refs/heads/master
c: 68dd5b7
h: refs/heads/master
i:
  194243: 3fc77f9
v: v3
  • Loading branch information
Teemu Paasikivi authored and John W. Linville committed Apr 9, 2010
1 parent 6df53c9 commit e96767b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 00236aedf1d2c49a18ae9ea00698d97705ff7289
refs/heads/master: 68dd5b7a45d1935fcd32b786e8d3d3f7bb4bbfe7
7 changes: 6 additions & 1 deletion trunk/net/mac80211/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,11 +919,16 @@ static void ieee80211_work_work(struct work_struct *work)
run_again(local, jiffies + HZ/2);
}

if (list_empty(&local->work_list) && local->scan_req)
mutex_lock(&local->scan_mtx);

if (list_empty(&local->work_list) && local->scan_req &&
!local->scanning)
ieee80211_queue_delayed_work(&local->hw,
&local->scan_work,
round_jiffies_relative(0));

mutex_unlock(&local->scan_mtx);

mutex_unlock(&local->work_mtx);

ieee80211_recalc_idle(local);
Expand Down

0 comments on commit e96767b

Please sign in to comment.