Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts: Documentation/feature-removal-schedule.txt drivers/net/wireless/ath/ath5k/phy.c drivers/net/wireless/wl12xx/wl1271_main.c
This commit is contained in:
@@ -920,11 +920,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);
|
||||
|
Reference in New Issue
Block a user