summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2007-11-28 19:49:34 +0300
committerJohn W. Linville <linville@tuxdriver.com>2007-11-30 02:08:48 +0300
commit7f4c534178722ac9ffb4feae3a4d54e3fbe3f22c (patch)
tree5067b23f30c5758bb6d6eee5e169afb98c98cd79 /net/mac80211
parent8312512e81ab16d845b49d1ec695fad1c72f19f6 (diff)
downloadlinux-7f4c534178722ac9ffb4feae3a4d54e3fbe3f22c.tar.xz
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 'net/mac80211')
0 files changed, 0 insertions, 0 deletions