diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-08-01 12:08:12 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-08-01 12:11:59 +0200 |
commit | a654ac0d6e5abbfe8da7b264d43b89b7ef1f2ffe (patch) | |
tree | 0fd2369cef688dedb1fdc0c70848bdb67682744f /target/linux/ar71xx | |
parent | 19f768f69197d4eb6c1359e6ff98e41c22bbe81d (diff) | |
download | upstream-a654ac0d6e5abbfe8da7b264d43b89b7ef1f2ffe.tar.gz upstream-a654ac0d6e5abbfe8da7b264d43b89b7ef1f2ffe.tar.bz2 upstream-a654ac0d6e5abbfe8da7b264d43b89b7ef1f2ffe.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)
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 1 |
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 bb022c1345..894835b14d 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -1001,6 +1001,7 @@ ar71xx_board_detect() { *"MAC1200R") name="mc-mac1200r" ;; + "MikroTik"*|\ "Mikrotik"*) name=$(mikrotik_board_detect "$machine") ;; |