From: Leann Ogasawara <leann.ogasawara@canonical.com>
To: reinette.chatre@intel.com, ilw@linux.intel.com
Cc: linux-wireless <linux-wireless@vger.kernel.org>, TJ <ubuntu@tjworld.net>
Subject: [PATCH] ipw2200: Enable LED by default
Date: Tue, 15 Jun 2010 17:55:13 -0700 [thread overview]
Message-ID: <1276649713.6127.276.camel@emiko> (raw)
Hi All,
As documented in 2005 in Documentation/networking/README.ipw2200, "The
LED code has been reported to hang some systems when running ifconfig
and is therefore disabled by default." We've however been carrying the
following patch in our Ubuntu kernel for quite some time which enables
the ipw2200 LED by default. This was a result of numerous user
requests. We've seen no subsequent bug reports of systems hanging due
to the the LED code being enabled by default. I'd therefore like to
propose the following patch to enable the LED by default. This patch
was originally authored by TJ. I apologize in advance that I do not
have TJ's full first and last name for provenance.
Thanks,
Leann
>From 315246037a0edab4d626de6ccb68c73d3fe61ce3 Mon Sep 17 00:00:00 2001
From: ubuntu@tjworld.net <ubuntu@tjworld.net>
Date: Mon, 23 Mar 2009 20:29:28 +0000
Subject: [PATCH] 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.
Originally-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>
---
Documentation/networking/README.ipw2200 | 2 +-
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 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/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 3aa3bb1..0805569 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -96,7 +96,7 @@ static int network_mode = 0;
static u32 ipw_debug_level;
static int associate;
static int auto_create = 1;
-static int led_support = 0;
+static int led_support = 1;
static int disable = 0;
static int bt_coexist = 0;
static int hwcrypto = 0;
@@ -12083,7 +12083,7 @@ module_param(auto_create, int, 0444);
MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)");
module_param_named(led, led_support, int, 0444);
-MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)");
+MODULE_PARM_DESC(led, "enable led control on some systems (default 1 on)");
module_param(debug, int, 0444);
MODULE_PARM_DESC(debug, "debug output mask");
--
1.7.0.4
next reply other threads:[~2010-06-16 0:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-16 0:55 Leann Ogasawara [this message]
2010-06-16 1:20 ` [PATCH] ipw2200: Enable LED by default Luis R. Rodriguez
2010-06-16 2:41 ` Leann Ogasawara
2010-06-16 4:36 ` Luis R. Rodriguez
2010-06-16 15:57 ` [PATCH v2] " Leann Ogasawara
2010-06-17 8:51 ` [PATCH] " TJ
2010-06-17 17:22 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1276649713.6127.276.camel@emiko \
--to=leann.ogasawara@canonical.com \
--cc=ilw@linux.intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=reinette.chatre@intel.com \
--cc=ubuntu@tjworld.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).