Author: hailfinger Date: Sat May 7 21:19:36 2011 New Revision: 1296 URL: http://flashrom.org/trac/flashrom/changeset/1296
Log: Fix multiple detection of the same chip.
r1293 introduced a bug which caused probing to loop at the first found chip.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net Acked-by: Idwer Vollering vidwer@gmail.com
Modified: trunk/cli_classic.c
Modified: trunk/cli_classic.c ============================================================================== --- trunk/cli_classic.c Thu May 5 19:52:07 2011 (r1295) +++ trunk/cli_classic.c Sat May 7 21:19:36 2011 (r1296) @@ -368,6 +368,7 @@ if (startchip == -1) break; chipcount++; + startchip++; }
if (chipcount > 1) {