Thread (5 messages) 5 messages, 3 authors, 2011-12-23
STALE5332d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 0/2] report stop sched scan when actually done

From: Eyal Shapira <hidden>
Date: 2011-12-21 10:11:12

Changes in mac/cfg80211 to notify userspace
of NL80211_CMD_SCHED_SCAN_STOPPED only when the driver
actually reported back that it was stopped. Also
blocks other attempts until we're really done.

This fixes a scenario where stop sched scan
is issued and immediately afterwards a new sched scan
is requested (e.g. with other parameters).
Current state caused a race where the driver started
stopping the sched scan but didn't finish and got
another sched scan request which it couldn't handle.

Eyal Shapira (2):
  mac80211: mark stopped sched scan only after driver does
  nl80211: report stopped sched scan only after driver does

 net/mac80211/scan.c |   10 +++-------
 net/wireless/scan.c |   17 ++++++++---------
 2 files changed, 11 insertions(+), 16 deletions(-)

-- 
1.7.4.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help