commit | 7f4c534178722ac9ffb4feae3a4d54e3fbe3f22c | [log] [tgz] |
---|---|---|
author | Michael Buesch <mb@bu3sch.de> | Wed Nov 28 17:49:34 2007 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Nov 29 18:08:48 2007 -0500 |
tree | 5067b23f30c5758bb6d6eee5e169afb98c98cd79 | |
parent | 8312512e81ab16d845b49d1ec695fad1c72f19f6 [diff] |
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 <mb@bu3sch.de> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>