Browse Source

bitforce: XLINK: Update to use actual length,xlinkid header order

Luke Dashjr 12 years ago
parent
commit
450ed2acf5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      driver-bitforce.c

+ 2 - 2
driver-bitforce.c

@@ -73,8 +73,8 @@ static ssize_t bitforce_send(int fd, int procid, const void *buf, ssize_t bufLen
 	ssize_t rv;
 	memcpy(&realbuf[3], buf, bufLen);
 	realbuf[0] = '@';
-	realbuf[1] = procid;
-	realbuf[2] = bufLen;
+	realbuf[1] = bufLen;
+	realbuf[2] = procid;
 	bufp = realbuf;
 	do
 	{