diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2018-07-29 12:15:00 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 10:35:11 +0200 |
commit | 091e915d994ff77a2677266e9e8cc831a7091deb (patch) | |
tree | c5a269c74743919dbbb2154529f81356bf66f423 /target/linux/ar71xx/base-files | |
parent | 5c2419b6f82e2ec49ecac17ae17fdbdb151701c7 (diff) | |
download | upstream-091e915d994ff77a2677266e9e8cc831a7091deb.tar.gz upstream-091e915d994ff77a2677266e9e8cc831a7091deb.tar.bz2 upstream-091e915d994ff77a2677266e9e8cc831a7091deb.zip |
ar71xx: improve MikroTik wAP R support
81d446b045176e3e25bb0ef74e3d060b51a0a353 introduced incomplete
support for this device.
This patch attempts to correct the situation based on OEM source
code.
LED1-3 are GSM mode on OFW (2G/3G/4G) hence unassigned here.
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Tested-by: David Ehrmann <ehrmann@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/01_leds | 3 | ||||
-rw-r--r-- | target/linux/ar71xx/base-files/etc/diag.sh | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 11299dcb92..b0f4975e5c 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -680,6 +680,9 @@ rb-wap-2nd) ucidef_set_led_timer "user" "USER" "rb:green:user" "1000" "1000" ucidef_set_led_wlan "wlan" "WLAN" "rb:green:wlan" "phy0tpt" ;; +rb-wapr-2nd) + ucidef_set_led_wlan "wlan" "WLAN" "rb:green:user" "phy0tpt" + ;; re355|\ re450) ucidef_set_led_netdev "lan_data" "LAN Data" "$board:green:lan_data" "eth0" "tx rx" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index efb1305aec..129df16097 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -376,7 +376,8 @@ get_status_led() { rb-lhg-5nd|\ rb-map-2nd|\ rb-mapl-2nd|\ - rb-wap-2nd) + rb-wap-2nd|\ + rb-wapr-2nd) status_led="rb:green:user" ;; rb-951ui-2hnd) |