[source] ramips: remove optional ucidef_set_led_rssi parameters

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 17 06:45:21 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/3ccca56eb0a44bb72561c6381faf63564eeec858

commit 3ccca56eb0a44bb72561c6381faf63564eeec858
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Jun 17 00:39:25 2017 +0200

    ramips: remove optional ucidef_set_led_rssi parameters
    
    The same values are set if the parameters are not specified.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/base-files/etc/board.d/01_leds | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index b08f352..61f662b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -359,9 +359,9 @@ whr-600d)
 	;;
 wl-wn575a3)
 	ucidef_set_rssimon "wlan1" "200000" "1"
-	ucidef_set_led_rssi "wifi-low" "wifi-low" "$board:green:wifi-low" "wlan1" "1" "49" "0" "1"
-	ucidef_set_led_rssi "wifi-med" "wifi-med" "$board:green:wifi-med" "wlan1" "50" "84" "0" "1"
-	ucidef_set_led_rssi "wifi-high" "wifi-high" "$board:green:wifi-high" "wlan1" "85" "100" "0" "1"
+	ucidef_set_led_rssi "wifi-low" "wifi-low" "$board:green:wifi-low" "wlan1" "1" "49"
+	ucidef_set_led_rssi "wifi-med" "wifi-med" "$board:green:wifi-med" "wlan1" "50" "84"
+	ucidef_set_led_rssi "wifi-high" "wifi-high" "$board:green:wifi-high" "wlan1" "85" "100"
 	;;
 wrh-300cr)
 	set_wifi_led "$board:green:wlan"



More information about the lede-commits mailing list