Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300942
b: refs/heads/master
c: 5f54607
h: refs/heads/master
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Apr 13, 2012
1 parent e10c687 commit 2fda85d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 133d40f9a22bdfd2617a446f1e3209537c5415ec
refs/heads/master: 5f5460706e5feaef286aacce37647f7e57d026e4
8 changes: 5 additions & 3 deletions trunk/net/mac80211/work.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ static void ieee80211_work_work(struct work_struct *work)
enum work_action rma;
bool remain_off_channel = false;

if (local->scanning)
return;

/*
* ieee80211_queue_work() should have picked up most cases,
* here we'll pick the rest.
Expand All @@ -134,6 +131,11 @@ static void ieee80211_work_work(struct work_struct *work)

mutex_lock(&local->mtx);

if (local->scanning) {
mutex_unlock(&local->mtx);
return;
}

ieee80211_recalc_idle(local);

list_for_each_entry_safe(wk, tmp, &local->work_list, list) {
Expand Down

0 comments on commit 2fda85d

Please sign in to comment.