[PATCH] UBUNTU: SAUCE: ipw2200: Enable LED by default

TJ ubuntu at tjworld.net
Mon Mar 23 20:29:28 UTC 2009


Bug: #21367

Enable LED by default. Original (vague) reason for defaulting to disabled
documented in 2005 no longer appears applicable, and users have been
requesting this for several years.

Signed-off-by: TJ <ubuntu at tjworld.net>
---
 Documentation/networking/README.ipw2200 |    2 +-
 drivers/net/wireless/ipw2200.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/networking/README.ipw2200 b/Documentation/networking/README.ipw2200
index 80c7285..e4d3267 100644
--- a/Documentation/networking/README.ipw2200
+++ b/Documentation/networking/README.ipw2200
@@ -171,7 +171,7 @@ Where the supported parameter are:
   
   led
 	Can be used to turn on experimental LED code.
-	0 = Off, 1 = On.  Default is 0.
+	0 = Off, 1 = On.  Default is 1.
 
   mode
 	Can be used to set the default mode of the adapter.  
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 88e208e..67c1ba3 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -89,7 +89,7 @@ static int mode = 0;
 static u32 ipw_debug_level;
 static int associate;
 static int auto_create = 1;
-static int led = 0;
+static int led = 1;
 static int disable = 0;
 static int bt_coexist = 0;
 static int hwcrypto = 0;
-- 
1.6.0.4





More information about the kernel-team mailing list