From: Henrique de Moraes Holschuh Date: Tue, 22 Jul 2008 00:18:20 +0000 (-0300) Subject: rfkill: mutex fixes X-Git-Tag: v2.6.27-rc2~119^2~6^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=064af1117b4aa64a0e52f6b741df7356ef055142;p=pandora-kernel.git rfkill: mutex fixes There are two mutexes in rfkill: rfkill->mutex, which protects some of the fields of a rfkill struct, and is also used for callback serialization. rfkill_mutex, which protects the global state, the list of registered rfkill structs and rfkill->claim. Make sure to use the correct mutex, and to not miss locking rfkill->mutex even when we already took rfkill_mutex. Signed-off-by: Henrique de Moraes Holschuh Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed