Commit e838957a authored by Julien Rabier's avatar Julien Rabier Committed by Adrian Schmutzler
Browse files

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: default avatarJulien Rabier <taziden@flexiden.org>
[Alter string to include all flavours + slight rewrite of commit msg]
Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
(cherry picked from commit 6570f3c9)
parent 6b128326
...@@ -1073,7 +1073,7 @@ ar71xx_board_detect() { ...@@ -1073,7 +1073,7 @@ ar71xx_board_detect() {
*"RouterBOARD 921GS-5HPacD r2") *"RouterBOARD 921GS-5HPacD r2")
name="rb-921gs-5hpacd-r2" name="rb-921gs-5hpacd-r2"
;; ;;
*"RouterBOARD 941-2nD") *"RouterBOARD"*"941-2nD")
name="rb-941-2nd" name="rb-941-2nd"
;; ;;
*"RouterBOARD 951G-2HnD") *"RouterBOARD 951G-2HnD")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment