aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8/base-files
diff options
context:
space:
mode:
authorRodrigo Araujo <araujo.rm@gmail.com>2022-01-18 14:43:28 +0000
committerDavid Bauer <mail@david-bauer.net>2022-01-22 01:17:04 +0100
commit7c8ade1765fa283c253d7c29165be77fcd6a1ff0 (patch)
treecfb78787a03fe7a9ef5fa06ed736c6109d4dc45f /target/linux/ramips/mt76x8/base-files
parentef5f3eb7007e950c9a60810a5f421dcfb75cc97f (diff)
downloadupstream-7c8ade1765fa283c253d7c29165be77fcd6a1ff0.tar.gz
upstream-7c8ade1765fa283c253d7c29165be77fcd6a1ff0.tar.bz2
upstream-7c8ade1765fa283c253d7c29165be77fcd6a1ff0.zip
ramips: correct vendor name for COMFAST/Joowin
When Joowin WR758AC V1 and V2 devices were added, they should have been added with the primary manufacturer name which is COMFAST, since Joowin is just an alternate vendor name on some coutries or stores. Fix this by changing the the vendor name on the respective files and set Joowin as ALT0 variants while ensuring compatibility for early users. Also adjust the model names to better follow the naming rules. As a side effect, fix mt76x8 network script which was left incorrectly unsorted on the case block conditions. Fixes: 766733e172 ("ramips: add support for Joowin WR758AC V1 and V2") Signed-off-by: Rodrigo Araujo <araujo.rm@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rw-r--r--target/linux/ramips/mt76x8/base-files/etc/board.d/02_network14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 43d2647cf0..ab068ce150 100644
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -53,6 +53,13 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"3:lan" "4:wan" "6@eth0"
;;
+ comfast,cf-wr758ac-v1|\
+ comfast,cf-wr758ac-v2|\
+ tplink,tl-wr902ac-v3|\
+ wavlink,wl-wn576a2)
+ ucidef_add_switch "switch0" \
+ "4:lan" "6@eth0"
+ ;;
cudy,wr1000)
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "4:wan" "6@eth0"
@@ -129,13 +136,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:wan" "6@eth0"
;;
- joowin,jw-wr758ac-v1|\
- joowin,jw-wr758ac-v2|\
- tplink,tl-wr902ac-v3|\
- wavlink,wl-wn576a2)
- ucidef_add_switch "switch0" \
- "4:lan" "6@eth0"
- ;;
vocore,vocore2|\
vocore,vocore2-lite)
ucidef_add_switch "switch0" \