Commit c478b302cec55b5655f5587f74eda632b80b3bb4

Con Kolivas 2013-05-27T15:48:54

Specify avalon in avalon_reset.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-avalon.c b/driver-avalon.c
index 00a8a72..da2fc24 100644
--- a/driver-avalon.c
+++ b/driver-avalon.c
@@ -291,7 +291,7 @@ static int avalon_reset(struct cgpu_info *avalon, bool initial)
 
 	wait_avalon_ready(avalon);
 
-	ret = avalon_send_task(&at, NULL);
+	ret = avalon_send_task(&at, avalon);
 	if (unlikely(ret == AVA_SEND_ERROR))
 		return -1;