Cancel any spi transfers on nf1 close
diff --git a/driver-bitfury.c b/driver-bitfury.c
index ae8f5fd..402c9ef 100644
--- a/driver-bitfury.c
+++ b/driver-bitfury.c
@@ -284,6 +284,8 @@ static void nf1_close(struct cgpu_info *bitfury)
struct mcp_settings *mcp = &info->mcp;
int i;
+ mcp2210_spi_cancel(bitfury);
+
/* Set all pins to input mode, ignoring return code */
for (i = 0; i < 9; i++) {
mcp->direction.pin[i] = MCP2210_GPIO_INPUT;