mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41518 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user