ath79: rework LED configurations for tplink,archer-d50-v1
authorChuanhong Guo <gch981213@gmail.com>
Mon, 20 May 2019 13:26:03 +0000 (21:26 +0800)
committerPetr Štetiar <ynezz@true.cz>
Wed, 5 Jun 2019 08:12:31 +0000 (10:12 +0200)
commitf84715d463e63bd8c6fa873a9183b418ff24eeb5
tree284df4200ec45b8c5601e8fbb1ebcf93ebe69d01
parent9b7abd9fe29b15d56bb44871b76f8b3396cf313b
ath79: rework LED configurations for tplink,archer-d50-v1

The original one has the following problem:
1. Port mask of lan led includes wan port.
2. By using netdev trigger with vlan port, the link led
   is always on.

This commits fixes the above problems by correcting port
mask for lan led and use swconfig trigger for wan leds.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/base-files/etc/board.d/01_leds