Browse Source

Ask for the correct amount to read in avalon get results.

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

+ 1 - 1
driver-avalon.c

@@ -757,7 +757,7 @@ static void *avalon_get_results(void *userdata)
 		}
 
 		avalon_wait_ready(avalon);
-		amount = avalon_read(avalon, buf, C_AVALON_READ);
+		amount = avalon_read(avalon, buf, rsize);
 
 		if (amount < 3)
 			continue;