MIPS: BCM47XX: Fix detecting Microsoft MN-700 & Asus WL500G
authorRafał Miłecki <zajec5@gmail.com>
Wed, 1 Apr 2015 14:01:02 +0000 (16:01 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:35 +0000 (19:12 -0400)
commit3c021baa28e129fec180856a2f5e12c029826e53
tree47ab1b62334c01d77f41d910760769adfbaf4703
parente17bb066ab5a4f824f90d830a5b70b84253ad350
MIPS: BCM47XX: Fix detecting Microsoft MN-700 & Asus WL500G

[ Upstream commit 96f7c21363e0e0d19f3471f54a719ed06d708513 ]

Since the day of adding this code it was broken. We were iterating over
a wrong array and checking for wrong NVRAM entry.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/9654/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/mips/bcm47xx/board.c