OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 12:14:23 +0000 (05:14 -0700)
commit1935bb1a6db0f5fe9f0073d185e7e230a3bd927e
tree218a0af1f1404da6d2aa2f7ba17b511e579f9283
parent54cca1007c3c0e6e6f2802ae9890f7d7c9cf9809
MIPS: BCM47XX: Fix detecting Microsoft MN-700 & Asus WL500G

Commit 96f7c21363e0e0d19f3471f54a719ed06d708513 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/bcm47xx/board.c