Browse Source

fix the nonce EB issue

Xiangfu 13 years ago
parent
commit
781d35c1bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
driver-avalon.c

@@ -226,7 +226,7 @@ static int avalon_decode_nonce(struct work **work, struct avalon_result *ar,
 	}
 
 	*nonce = ar->nonce;
-#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB)
+#if defined (__BIG_ENDIAN__) || defined(MIPSEB)
 	*nonce = swab32(*nonce);
 #endif