linux/net/rfkill
Michael Buesch 7319f1e6bc rfkill: Use mutex_lock() at register and add sanity check
Replace mutex_lock_interruptible() by mutex_lock() in rfkill_register(),
as interruptible doesn't make sense there.

Add a sanity check for rfkill->type, as that's used for an unchecked dereference
in an array and might cause hard to debug crashes if the driver sets this
to an invalid value.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-11-10 22:00:15 -08:00
..
Kconfig [RFKILL]: Add support for an rfkill LED. 2007-10-10 16:54:10 -07:00
Makefile [NET]: rfkill: add support for input key to control wireless radio 2007-05-07 00:34:20 -07:00
rfkill-input.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
rfkill-input.h [RFKILL]: Move rfkill_switch_all out of global header 2007-10-10 16:53:29 -07:00
rfkill.c rfkill: Use mutex_lock() at register and add sanity check 2007-11-10 22:00:15 -08:00