From: Johannes Berg Date: Sat, 14 Mar 2009 08:42:49 +0000 (+0100) Subject: mac80211: acquire sta_lock for station suspend/resume X-Git-Tag: v2.6.30-rc1~642^2^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0216a49bea717b9606b81c60f2f0b6152123eb;p=pandora-kernel.git 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 Acked-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed