Browse Source

Specify avalon in avalon_reset.

Con Kolivas 12 years ago
parent
commit
c478b302ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
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;