[flashrom] [commit] r1296 - trunk

repository service svn at flashrom.org
Sat May 7 21:19:37 CEST 2011


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 at gmx.net>
Acked-by: Idwer Vollering <vidwer at 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) {




More information about the flashrom mailing list