Commit 2405c8e0e82c69b60235ceeb61e0c12014214235

Con Kolivas 2014-02-05T22:52:22

Revert "We should retry only 3 times to get an hfa header response to init since that is more than 1.5 second of waiting." This reverts commit efa9963f8625a628a94e29f006c90306b20d7bda. Conflicts: driver-hashfast.c

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 5ce7edb..fb7c2ca 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -353,7 +353,7 @@ resend:
 	// We extend the normal timeout - a complete device initialization, including
 	// bringing power supplies up from standby, etc., can take over a second.
 tryagain:
-	for (i = 0; i < 4; i++) {
+	for (i = 0; i < 10; i++) {
 		ret = hfa_get_header(hashfast, h, &hcrc);
 		if (unlikely(hashfast->usbinfo.nodev))
 			return false;