ar71xx: really fix Mikrotik board detection

commit e09da0169a ("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: e09da0169a ("ar71xx: fix Mikrotik board detection")

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 845b2a1cfe)
openwrt-19.07
Koen Vandeputte 2019-08-01 12:08:12 +02:00
parent 19f768f691
commit a654ac0d6e
1 changed files with 1 additions and 0 deletions

View File

@ -1001,6 +1001,7 @@ ar71xx_board_detect() {
*"MAC1200R")
name="mc-mac1200r"
;;
"MikroTik"*|\
"Mikrotik"*)
name=$(mikrotik_board_detect "$machine")
;;