aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/broadcom/b43/leds.c
Commit message (Collapse)AuthorAgeFilesLines
* b43/leds: Ensure NUL-termination of LED name stringMichael Büsch2018-08-091-1/+1
| | | | | | | | | strncpy might not NUL-terminate the string, if the name equals the buffer size. Use strlcpy instead. Signed-off-by: Michael Buesch <m@bues.ch> Cc: stable@vger.kernel.org Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
* b43: only hardcode LED behavior if SPROM doesn't encode anyLucas Stach2016-06-161-2/+6
| | | | | | | | | | Only hardcode the LED behavior if the SROM doesn't provide any for all LEDs of the card. This avoids instantiating LED triggers for unconnected LEDs, while (hopefully) keeping things working for old cards with a blank SROM. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
* b43: move under broadcom vendor directoryKalle Valo2015-11-181-0/+359
Part of reorganising wireless drivers directory and Kconfig. Signed-off-by: Kalle Valo <kvalo@codeaurora.org>