Explorar o código

ath79: change ledtrig on GL.iNet AR150

Change the ledtrig for LAN from netdev to switch.
Although eth1 comes out of the device at a single port,
this port is a switch-port and therefore the LED
must be triggered by that.

Signed-off-by: Paul Wassi <[email protected]>
Paul Wassi %!s(int64=6) %!d(string=hai) anos
pai
achega
97fcd2622a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      target/linux/ath79/base-files/etc/board.d/01_leds

+ 1 - 1
target/linux/ath79/base-files/etc/board.d/01_leds

@@ -52,7 +52,7 @@ etactica,eg200)
 	;;
 glinet,gl-ar150)
 	ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
-	ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth1"
+	ucidef_set_led_switch "lan" "LAN" "$boardname:green:lan" "switch0" "0x02"
 	;;
 glinet,gl-x750)
 	ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"