diff mbox

[OpenWrt-Devel] ar71xx: add LED defaults for the EnGenius EPG5000

Message ID 1434972494-28161-1-git-send-email-cb@shoutrlabs.com
State Accepted
Headers show

Commit Message

Christian Beier June 22, 2015, 11:28 a.m. UTC
NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
---
 target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Christian Beier July 6, 2015, 2:13 p.m. UTC | #1
Am Mon, 22 Jun 2015 13:28:14 +0200
schrieb Christian Beier <cb@shoutrlabs.com>:

> NB that wlan5g is phy0tpt and wlan2g phy1tpt.

Hey,

just wanted to know whether I need to change anything or this just takes time
to get applied?

Cheers,

   Christian 

> 
> Signed-off-by: Christian Beier <cb@shoutrlabs.com>
> ---
>  target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
> b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds index
> 19814f4..7c10f42 100644 ---
> a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds +++
> b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds @@ -165,6 +165,11
> @@ esr1750) ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "esr1750:blue:wlan-5g"
> "phy1tpt" ;;
>  
> +epg5000)
> +	ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "epg5000:blue:wlan-2g"
> "phy1tpt"
> +	ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "epg5000:blue:wlan-5g"
> "phy0tpt"
> +	;;
> +
>  hiwifi-hc6361)
>  	ucidef_set_led_netdev "inet" "INET" "hiwifi:blue:internet" "eth1"
>  	ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
diff mbox

Patch

diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index 19814f4..7c10f42 100644
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -165,6 +165,11 @@  esr1750)
 	ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "esr1750:blue:wlan-5g" "phy1tpt"
 	;;
 
+epg5000)
+	ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "epg5000:blue:wlan-2g" "phy1tpt"
+	ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "epg5000:blue:wlan-5g" "phy0tpt"
+	;;
+
 hiwifi-hc6361)
 	ucidef_set_led_netdev "inet" "INET" "hiwifi:blue:internet" "eth1"
 	ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"