diff options
author | Johannes Berg <[email protected]> | 2011-11-24 20:06:14 +0100 |
---|---|---|
committer | John W. Linville <[email protected]> | 2011-11-28 13:46:41 -0500 |
commit | 24f50a9d165745fd0701c6e089d35f58a229ea69 (patch) | |
tree | f43007765e54da07e5da5a5801d77fea168baa92 /tools/perf/scripts/python/sched-migration.py | |
parent | e007b857e88097c96c45620bf3b04a4e309053d1 (diff) |
mac80211: don't stop a single aggregation session twice
Nikolay noticed (by code review) that mac80211 can
attempt to stop an aggregation session while it is
already being stopped. So to fix it, check whether
stop is already being done and bail out if so.
Also move setting the STOPPING state into the lock
so things are properly atomic.
Cc: [email protected]
Reported-by: Nikolay Martynov <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions