ar71xx: fix wndr3800 machine name

This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
This commit is contained in:
Gabor Juhos
2011-11-24 20:09:38 +00:00
parent 600b6efc41
commit c20d7378e5
5 changed files with 9 additions and 2 deletions

View File

@@ -169,6 +169,9 @@ ar71xx_board_name() {
*WNDR3700v2)
name="wndr3700v2"
;;
*WNDR3800)
name="wndr3800"
;;
*WNR2000)
name="wnr2000"
;;

View File

@@ -133,7 +133,7 @@ platform_check_image() {
}
return 0
;;
wndr3700v2)
wndr3700v2|wndr3800)
[ "$magic_long" != "33373031" ] && {
echo "Invalid image type."
return 1