aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorThomas Vincent-Cross <me@tvc.id.au>2019-02-17 23:21:42 +1100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-28 11:26:10 +0100
commita915ad8464341c01ddd894ac36483183ab4c4130 (patch)
tree04ef04c91dda8de04459afebcb04c0f54662ed52 /target/linux/ramips/base-files/etc/board.d
parent25c0b41901448f1191f3c9d7f6fabd05fbf7396f (diff)
downloadupstream-a915ad8464341c01ddd894ac36483183ab4c4130.tar.gz
upstream-a915ad8464341c01ddd894ac36483183ab4c4130.tar.bz2
upstream-a915ad8464341c01ddd894ac36483183ab4c4130.zip
ramips: use generic board detection for Wavlink WL-WN575A3
Bring Wavlink WL-WN575A3 in line with other Wavlink ramips devices. Signed-off-by: Thomas Vincent-Cross <me@tvc.id.au>
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds10
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index f19d6be6e8..cbc003a1de 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -392,16 +392,16 @@ wavlink,wl-wn570ha1)
ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan0" "85" "100"
set_wifi_led "$boardname:green:wifi"
;;
-we1026-5g-16m)
- ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
- set_wifi_led "we1026-5g:green:wifi"
- ;;
-wl-wn575a3)
+wavlink,wl-wn575a3)
ucidef_set_rssimon "wlan1" "200000" "1"
ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan1" "1" "49"
ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan1" "50" "84"
ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan1" "85" "100"
;;
+we1026-5g-16m)
+ ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
+ set_wifi_led "we1026-5g:green:wifi"
+ ;;
wrh-300cr)
set_wifi_led "$boardname:green:wlan"
ucidef_set_led_netdev "lan" "lan" "$boardname:green:ethernet" "eth0"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index fca3398f2d..f47d6f895d 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -123,11 +123,11 @@ ramips_setup_interfaces()
unielec,u7621-06-512m-64m|\
vr500|\
wavlink,wl-wn570ha1|\
+ wavlink,wl-wn575a3|\
wf-2881|\
whr-g300n|\
mqmaker,witi-256m|\
mqmaker,witi-512m|\
- wl-wn575a3|\
wndr3700v5|\
youku-yk1|\
zbt-ape522ii|\