From 064bbc9f37bfcda7e9647e1d895d51747fcc19c9 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sat, 7 May 2011 19:19:36 +0000 Subject: Fix multiple detection of the same chip r1293 introduced a bug which caused probing to loop at the first found chip. Corresponding to flashrom svn r1296. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Idwer Vollering --- cli_classic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cli_classic.c') diff --git a/cli_classic.c b/cli_classic.c index 160ea88..d1b4686 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -368,6 +368,7 @@ int cli_classic(int argc, char *argv[]) if (startchip == -1) break; chipcount++; + startchip++; } if (chipcount > 1) { -- cgit v1.1