Browse Source

Bugfix: knc: Perform le32toh on unknown-work nonces

Luke Dashjr 12 years ago
parent
commit
273f0b26fc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-knc.c

+ 1 - 0
driver-knc.c

@@ -462,6 +462,7 @@ void knc_poll(struct thr_info * const thr)
 			if (KNC_REPLY_NONCE_FOUND == rtype)
 			{
 				nonce = get_u32be(&rxbuf[4]);
+				nonce = le32toh(nonce);
 				inc_hw_errors2(mythr, NULL, &nonce);
 			}
 			else