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)
commit20d37251aee4e917b66de3ad18b6174da04d8d4c
treef32a343af6b486ab3d3e6fc632b66c96afe5f2a7
parent2c12615b7bfcc360acb737782092dafa89f20026
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39402 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig_leds.c