diff options
author | Vivek Natarajan <vnatarajan@atheros.com> | 2010-06-22 06:22:37 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-23 19:14:05 (GMT) |
commit | 9a75c2ff6d539da0a565b5d64605031950b0853e (patch) | |
tree | b928b6c55ee6cb108f444c4f38f99ffee5c28c0d /drivers/net/wireless/ath/ath9k/init.c | |
parent | ee031112d9eef5508f765ebc90ab488e01db002e (diff) | |
download | linux-fsl-qoriq-9a75c2ff6d539da0a565b5d64605031950b0853e.tar.xz |
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.c | 4 |
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 514a401..8700e3d 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -33,6 +33,10 @@ int modparam_nohwcrypt; module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444); MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption"); +int led_blink = 1; +module_param_named(blink, led_blink, int, 0444); +MODULE_PARM_DESC(blink, "Enable LED blink on activity"); + /* We use the hw_value as an index into our private channel structure */ #define CHAN2G(_freq, _idx) { \ |