diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-11-28 11:49:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-11-29 18:08:48 -0500 |
commit | 7f4c534178722ac9ffb4feae3a4d54e3fbe3f22c (patch) | |
tree | 5067b23f30c5758bb6d6eee5e169afb98c98cd79 /lib/spinlock_debug.c | |
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions