diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-14 09:42:49 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-28 01:12:53 +0100 |
commit | 7f0216a49bea717b9606b81c60f2f0b6152123eb (patch) | |
tree | 8e28ac84644a13fbb68e79d4c307cc7ea40a167a /sound/sound_firmware.c | |
parent | nl80211: export supported commands (diff) | |
download | linux-7f0216a49bea717b9606b81c60f2f0b6152123eb.tar.xz linux-7f0216a49bea717b9606b81c60f2f0b6152123eb.zip |
mac80211: acquire sta_lock for station suspend/resume
To avoid concurrent manipulations of the sta list (which shouldn't
be possible at this point, but anyway) we need to hold the sta_lock
around iterating the list.
At the same time, we do not need to iterate the list at all if
the driver doesn't want to be notified.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound/sound_firmware.c')
0 files changed, 0 insertions, 0 deletions