diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-05-07 19:19:36 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-05-07 19:19:36 +0000 |
commit | aacc206d0c4a4eda34d8600032118e124a0a2e44 (patch) | |
tree | b79b459262f18354c0c602b107917e614b4a201c /cli_classic.c | |
parent | c83b5e4553b27bba65f757da2b281a1adfec6423 (diff) | |
download | flashrom-aacc206d0c4a4eda34d8600032118e124a0a2e44.zip flashrom-aacc206d0c4a4eda34d8600032118e124a0a2e44.tar.gz |
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>
Diffstat (limited to 'cli_classic.c')
-rw-r--r-- | cli_classic.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |