aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorVivek Natarajan <vnatarajan@atheros.com>2010-06-22 02:22:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-23 15:14:05 -0400
commit9a75c2ff6d539da0a565b5d64605031950b0853e (patch)
treeb928b6c55ee6cb108f444c4f38f99ffee5c28c0d /drivers/net/wireless/ath/ath9k/init.c
parentee031112d9eef5508f765ebc90ab488e01db002e (diff)
ath9k: Add a module parameter to disable led blinking.
Some vendors require the LED to be ON always irrespective of any radio activity. Introducing a module parameter to disable blinking, so that one can choose between always on or led blink during activity. Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 514a4014c198..8700e3dc53cf 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -33,6 +33,10 @@ int modparam_nohwcrypt;
33module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444); 33module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444);
34MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption"); 34MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption");
35 35
36int led_blink = 1;
37module_param_named(blink, led_blink, int, 0444);
38MODULE_PARM_DESC(blink, "Enable LED blink on activity");
39
36/* We use the hw_value as an index into our private channel structure */ 40/* We use the hw_value as an index into our private channel structure */
37 41
38#define CHAN2G(_freq, _idx) { \ 42#define CHAN2G(_freq, _idx) { \