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 <[email protected]>

--
http://www.hailfinger.org/

Index: flashrom-const_flashchip_fix/cli_classic.c
===================================================================
--- flashrom-const_flashchip_fix/cli_classic.c	(Revision 1295)
+++ flashrom-const_flashchip_fix/cli_classic.c	(Arbeitskopie)
@@ -368,6 +368,7 @@
 		if (startchip == -1)
 			break;
 		chipcount++;
+		startchip++;
 	}
 
 	if (chipcount > 1) {
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to