0114-ar71xx-don-t-use-D-Link-DIR-505-status-LED-as-ethernet-indicator.patch 1.1 KB

12345678910111213141516171819202122232425262728
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Thu, 28 Jul 2016 15:59:04 +0200
  3. Subject: ar71xx: don't use D-Link DIR-505 status LED as ethernet indicator
  4. The stock firmware uses the single LED as status indicator only. Using the
  5. same LED both for status and as ethernet indicator is uncommon, and has
  6. been confusing users who were using the device as a WLAN mesh node (so the
  7. LED was just off, as no ethernet was connected).
  8. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  9. Backport of LEDE adbbfb7ff900c489e6be34b2ec2834172dff7943
  10. diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  11. index 9a0d7eb..7c18346 100644
  12. --- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  13. +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
  14. @@ -132,10 +132,6 @@ dhp-1565-a1)
  15. ucidef_set_led_switch "wan" "WAN" "d-link:green:planet" "switch0" "0x20"
  16. ;;
  17. -dir-505-a1)
  18. - ucidef_set_led_netdev "lan" "LAN" "d-link:green:power" "eth1"
  19. - ;;
  20. -
  21. dir-600-a1|\
  22. dir-615-e1|\
  23. dir-615-e4)