aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-08-01 12:08:12 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-02 02:06:01 +0100
commitb72b37d6ff2caea16fcf92ba55f2d50624da4795 (patch)
tree8e3fa7bc40b986e1a4492ad2b78e64b35290984d
parent471baf3f741cb584e810368756dddf3bab333319 (diff)
downloadupstream-b72b37d6ff2caea16fcf92ba55f2d50624da4795.tar.gz
upstream-b72b37d6ff2caea16fcf92ba55f2d50624da4795.tar.bz2
upstream-b72b37d6ff2caea16fcf92ba55f2d50624da4795.zip
ar71xx: really fix Mikrotik board detection
commit e09da0169a08 ("ar71xx: fix Mikrotik board detection") was generated based on testing a rb-912 board, on which detection failed. Testing on more hardware shows something fun: machine : MikroTik RouterBOARD 922UAGS-5HPacD machine : Mikrotik RouterBOARD 912UAG-5HPnD Both lowercase and uppercase are used. So ensure we support both now .. Fixes: e09da0169a08 ("ar71xx: fix Mikrotik board detection") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> (cherry picked from commit 845b2a1cfe307394f3f2144cce085bbb5e171ecc)
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 78c6cfc809..a61c781b28 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -965,6 +965,7 @@ ar71xx_board_detect() {
*"MAC1200R")
name="mc-mac1200r"
;;
+ "MikroTik"*|\
"Mikrotik"*)
name=$(mikrotik_board_detect "$machine")
;;