diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-06-23 17:22:59 -0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-26 14:21:20 -0400 |
commit | e954b0b85b9e737564b8ad9738de5816747b5901 (patch) | |
tree | 173e87944006ded011a2db7feac770848277d881 /net/sysctl_net.c | |
parent | 28f089c18464810ec9e91ee10a89adbb02ad7765 (diff) |
rfkill: add parameter to disable radios by default
Currently, radios are always enabled when their rfkill interface is
registered. This is not optimal, the safest state for a radio is to be
offline unless the user turns it on.
Add a module parameter that causes all radios to be disabled when their
rfkill interface is registered. The module default is not changed so
unless the parameter is used, radios will still be forced to their enabled
state when they are registered.
The new rfkill module parameter is called "default_state".
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>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions