Commit cbf3a79d0d45a1944a46b3256ad235cb2a8a3f5f

Kano 2013-06-22T20:11:45

Icarus enable the read buffer for the detect nonce

diff --git a/driver-icarus.c b/driver-icarus.c
index 1a45321..d7c24ae 100644
--- a/driver-icarus.c
+++ b/driver-icarus.c
@@ -749,6 +749,8 @@ static bool icarus_detect_one(struct libusb_device *dev, struct usb_find_devices
 	if (!usb_init(icarus, dev, found))
 		goto shin;
 
+	usb_buffer_enable(icarus);
+
 	get_options(this_option_offset, icarus, &baud, &work_division, &fpga_count);
 
 	hex2bin(ob_bin, golden_ob, sizeof(ob_bin));
@@ -821,8 +823,6 @@ static bool icarus_detect_one(struct libusb_device *dev, struct usb_find_devices
 
 	set_timing_mode(this_option_offset, icarus);
 
-	usb_buffer_enable(icarus);
-
 	return true;
 
 unshin: