kernel-hacking-2024-linux-s.../net/rfkill
Henrique de Moraes Holschuh 064af1117b 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 <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-07-29 16:36:35 -04:00
..
Kconfig [RFKILL]: Add support for an rfkill LED. 2007-10-10 16:54:10 -07:00
Makefile
rfkill-input.c rfkill: rename the rfkill_state states and add block-locked state 2008-06-26 14:21:22 -04:00
rfkill-input.h rfkill: do not allow userspace to override ALL RADIOS OFF 2008-06-26 14:21:22 -04:00
rfkill.c rfkill: mutex fixes 2008-07-29 16:36:35 -04:00