Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214280
b: refs/heads/master
c: 18145c6
h: refs/heads/master
v: v3
  • Loading branch information
John W. Linville committed Aug 31, 2010
1 parent 4d734cb commit 57f6a59
Show file tree
Hide file tree
Showing 2 changed files with 8 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: cd35a3912188d006f251fff1028d84e1d1649ca2
refs/heads/master: 18145c69349f2ab60c470798f83b3a2639e2a8d9
8 changes: 7 additions & 1 deletion trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,13 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw)

trace_api_restart_hw(local);

/* use this reason, __ieee80211_resume will unblock it */
WARN(test_bit(SCAN_HW_SCANNING, &local->scanning),
"%s called with hardware scan in progress\n", __func__);

if (unlikely(test_bit(SCAN_SW_SCANNING, &local->scanning)))
ieee80211_scan_cancel(local);

/* use this reason, ieee80211_reconfig will unblock it */
ieee80211_stop_queues_by_reason(hw,
IEEE80211_QUEUE_STOP_REASON_SUSPEND);

Expand Down

0 comments on commit 57f6a59

Please sign in to comment.