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
This commit is contained in:
Hauke Mehrtens
2014-07-05 22:55:40 +00:00
parent 8e4efd42d9
commit 4ec8908669
2 changed files with 15 additions and 0 deletions

View File

@@ -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))