diff options
author | ubuntu@tjworld.net <ubuntu@tjworld.net> | 2009-03-23 16:29:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-16 14:58:57 -0400 |
commit | c086abae5baa2df449ea5247011e8b7d52bb13f4 (patch) | |
tree | 72bff4d50c948425808c4cf080c1adc6f417e2f2 | |
parent | 7484bdc0569b3f9ddced42ed8d29de640135d9df (diff) |
ipw2200: Enable LED by default
BugLink: http://bugs.launchpad.net/bugs/21367
Enable LED by default and update the MODULE_PARM_DESC. The original
reason for defaulting to disabled was documented in 2005 and noted, "The
LED code has been reported to hang some systems when running ifconfig
and is therefore disabled by default." This no longer appears
applicable and users have been requesting this be enabled for several
years.
Signed-off-by: TJ <ubuntu@tjworld.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | Documentation/networking/README.ipw2200 | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2200.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/networking/README.ipw2200 b/Documentation/networking/README.ipw2200 index 80c728522c4c..e4d3267071e4 100644 --- a/Documentation/networking/README.ipw2200 +++ b/Documentation/networking/README.ipw2200 | |||
@@ -171,7 +171,7 @@ Where the supported parameter are: | |||
171 | 171 | ||
172 | led | 172 | led |
173 | Can be used to turn on experimental LED code. | 173 | Can be used to turn on experimental LED code. |
174 | 0 = Off, 1 = On. Default is 0. | 174 | 0 = Off, 1 = On. Default is 1. |
175 | 175 | ||
176 | mode | 176 | mode |
177 | Can be used to set the default mode of the adapter. | 177 | Can be used to set the default mode of the adapter. |
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 8feaa1d358ea..cb2552a6777c 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -96,7 +96,7 @@ static int network_mode = 0; | |||
96 | static u32 ipw_debug_level; | 96 | static u32 ipw_debug_level; |
97 | static int associate; | 97 | static int associate; |
98 | static int auto_create = 1; | 98 | static int auto_create = 1; |
99 | static int led_support = 0; | 99 | static int led_support = 1; |
100 | static int disable = 0; | 100 | static int disable = 0; |
101 | static int bt_coexist = 0; | 101 | static int bt_coexist = 0; |
102 | static int hwcrypto = 0; | 102 | static int hwcrypto = 0; |
@@ -12082,7 +12082,7 @@ module_param(auto_create, int, 0444); | |||
12082 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); | 12082 | MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); |
12083 | 12083 | ||
12084 | module_param_named(led, led_support, int, 0444); | 12084 | module_param_named(led, led_support, int, 0444); |
12085 | MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)"); | 12085 | MODULE_PARM_DESC(led, "enable led control on some systems (default 1 on)"); |
12086 | 12086 | ||
12087 | module_param(debug, int, 0444); | 12087 | module_param(debug, int, 0444); |
12088 | MODULE_PARM_DESC(debug, "debug output mask"); | 12088 | MODULE_PARM_DESC(debug, "debug output mask"); |