From 51a44fa779bcee977c786af0dd450fcff64b1b72 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 27 May 2013 17:52:34 +1000 Subject: [PATCH] Ask for the correct amount to read in avalon get results. --- driver-avalon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-avalon.c b/driver-avalon.c index 6fc311cd..d53a3f5d 100644 --- a/driver-avalon.c +++ b/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;