commit | 064bbc9f37bfcda7e9647e1d895d51747fcc19c9 | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat May 07 19:19:36 2011 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Sat May 07 19:19:36 2011 +0000 |
tree | b79b459262f18354c0c602b107917e614b4a201c | |
parent | dec9cec86e919d2b8a524c1bc6d82bf13b865eb6 [diff] |
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Idwer Vollering <vidwer@gmail.com>
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 @@ if (startchip == -1) break; chipcount++; + startchip++; } if (chipcount > 1) {