ar71xx: swconfig: use the local helper to set LED brightness on link down
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 Jan 2014 16:46:21 +0000 (16:46 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 26 Jan 2014 16:46:21 +0000 (16:46 +0000)
commit7c137c187f289cc593888f4ce645351d590e365f
tree71a434ed25e1395399672e7ea6e22408add723c7
parent3b8c51771da376aa6ca810c12866ffa4de4417e9
ar71xx: swconfig: use the local helper to set LED brightness on link down

Use the 'swconfig_trig_set_brightness' function to set
the brightness value of the LED when the link goes down.
This ensures that the last brighness value is saved into
a local variable which is used to track the actual LED
status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39402
target/linux/generic/files/drivers/net/phy/swconfig_leds.c