[PATCH][19.07] ar71xx: wix MikroTik wAP detection

Thibaut VARÈNE hacks at slashdirt.org
Tue Oct 5 08:32:54 PDT 2021


MikroTik released a 3rd revision of that board, virtually identical
to the previous one as far as software is concerned.

Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
In case anyone still cares about ar71xx on 19.07, this one-liner keeps
it working with MikroTik's latest minor revision of an otherwise
already supported device.
---
 target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 044ef4eae5..14b661cfd7 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -542,7 +542,8 @@ mikrotik_board_detect() {
 	*"SXT Lite5")
 		name="rb-sxt5n"
 		;;
-	*"wAP 2nD r2")
+	*"wAP 2nD r2"|\
+	*"wAP 2nD r3")
 		name="rb-wap-2nd"
 		;;
 	*"wAP R-2nD"|\
-- 
2.24.3 (Apple Git-128)




More information about the openwrt-devel mailing list