aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-11-12 01:19:03 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-20 15:57:02 +0100
commit08c850f046331ca405b32ea56a10aa0d6d27a419 (patch)
tree0cdf0e0cb598e96907a11f4b648d7d88b76c48a6 /target/linux/ramips/base-files/etc
parent2c16044ccf3925caba4c8bb474536d971b67858c (diff)
downloadupstream-08c850f046331ca405b32ea56a10aa0d6d27a419.tar.gz
upstream-08c850f046331ca405b32ea56a10aa0d6d27a419.tar.bz2
upstream-08c850f046331ca405b32ea56a10aa0d6d27a419.zip
ramips: fix USB LED for Belkin F9K1109v1
Device support for Belkin F9K1109v1 was added using set_usb_led() although this was removed in 772b27c20736 ("ramips: set F5D8235 v1 usb led trigger via devicetree"). Use ucidef_set_led_usbport() instead. Fixes: f2c83532f92c ("ramips: add support for Belkin F9K1109v1") Signed-off-by: Sungbo Eo <mans0n@gorani.run> [rephrase commit title and message, backport] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 1f455418ef1ea67fda710e1b86a9e021bb4a2413)
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds2
1 files changed, 1 insertions, 1 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 83cb88ad5c..fb74a2c87b 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -70,7 +70,7 @@ hiwifi,hc5861b)
set_wifi_led "$boardname:green:wlan2g"
;;
belkin,f9k1109v1)
- set_usb_led "$boardname:green:usb1"
+ ucidef_set_led_usbport "usb" "USB" "$boardname:green:usb1" "usb1-port1"
ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
;;
broadway)