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)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 10 Apr 2015 13:41:54 +0000 (15:41 +0200)
commit96f7c21363e0e0d19f3471f54a719ed06d708513
tree97c8d5fbe429cb5bd7b8af823b99d440cbcd350d
parent6ca716f2e5571d25a3899c6c5c91ff72ea6d6f5e
MIPS: BCM47XX: Fix detecting Microsoft MN-700 & Asus WL500G

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>
arch/mips/bcm47xx/board.c