From: Michael Buesch Date: Wed, 28 Nov 2007 16:49:34 +0000 (+0100) Subject: rfkill: fix double-mutex-locking X-Git-Tag: v2.6.24-rc4~8^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4c534178722ac9ffb4feae3a4d54e3fbe3f22c;p=pandora-kernel.git rfkill: fix double-mutex-locking rfkill_toggle_radio is called from functions where rfkill->mutex is already aquired. Remove the lock from rfkill_toggle_radio() and add it to the only calling function that calls it without the lock held. Signed-off-by: Michael Buesch Acked-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed