ar71xx: fix RB941-2nD detection

Some hAP lite routers aren't detected because
/proc/cpuinfo shows "RouterBOARD RB941-2nD"
instead of "RouterBOARD 941-2nD".

Fix that.

Signed-off-by: Julien Rabier <taziden@flexiden.org>
[Alter string to include all flavours + slight rewrite of commit msg]
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
openwrt-19.07
Julien Rabier 2019-02-04 21:03:35 +01:00 committed by Koen Vandeputte
parent 077253dd66
commit 6570f3c93a
1 changed files with 1 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ ar71xx_board_detect() {
*"RouterBOARD 931-2nD") *"RouterBOARD 931-2nD")
name="rb-931-2nd" name="rb-931-2nd"
;; ;;
*"RouterBOARD 941-2nD") *"RouterBOARD"*"941-2nD")
name="rb-941-2nd" name="rb-941-2nd"
;; ;;
*"RouterBOARD 951G-2HnD") *"RouterBOARD 951G-2HnD")