diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-07-05 22:55:40 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-07-05 22:55:40 +0000 |
commit | 4ec890866929ac48773791b3a9d78a169d504bae (patch) | |
tree | 20d6ccc52e8650801bd8ef80da2258b1d4317cbb /package/kernel/broadcom-wl/src | |
parent | 8e4efd42d98bbb5b5c4d891db3b889cb02dced01 (diff) | |
download | mtk-20170518-4ec890866929ac48773791b3a9d78a169d504bae.zip mtk-20170518-4ec890866929ac48773791b3a9d78a169d504bae.tar.gz mtk-20170518-4ec890866929ac48773791b3a9d78a169d504bae.tar.bz2 |
broadcom-wl: fix led support
Some devices have an nvram setting, which make broadcom-wl turn of the
led all the time. When the driver is switched on and we find such a
setting we replace it with a better value.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41518
Diffstat (limited to 'package/kernel/broadcom-wl/src')
-rw-r--r-- | package/kernel/broadcom-wl/src/wlc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c index 50c40e8..db48b73 100644 --- a/package/kernel/broadcom-wl/src/wlc.c +++ b/package/kernel/broadcom-wl/src/wlc.c @@ -999,6 +999,14 @@ static const struct wlc_call wlc_calls[] = { .data.str = "cap", .desc = "Number of VIF's supported" }, + { + .name = "leddc", + .param = INT, + .handler = wlc_iovar, + .data.str = "leddc", + .desc = "LED Duty Cycle" + }, + }; #define wlc_calls_size (sizeof(wlc_calls) / sizeof(struct wlc_call)) |