From: Johannes Berg Date: Wed, 18 Jun 2008 12:58:09 +0000 (+0200) Subject: mac80211: use separate spinlock for sta flags X-Git-Tag: v2.6.27-rc1~969^2~254^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a9f7b047e81a73a1ce3e42ef87c28a61fd4df24;p=pandora-kernel.git mac80211: use separate spinlock for sta flags David Ellingsworth posted a bug that was only noticable on UP/NO-PREEMPT and Michael correctly analysed it to be a spin_lock_bh() section within a spin_lock_irqsave() section. This adds a separate spinlock for the sta_info flags to fix that issue and avoid having to take much care about where the sta flag manipulation functions are called. Signed-off-by: Johannes Berg Reported-By: David Ellingsworth Signed-off-by: John W. Linville --- Reading git-diff-tree failed