fix length of returned usb packet

git-svn-id: https://svn.openpcd.org:2342/trunk@20 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
This commit is contained in:
(no author) 2006-07-23 14:33:32 +00:00
parent 2c303468af
commit da75ea5948
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ static int usb_in(struct req_ctx *rctx)
//data_len = ntohs(poh->len);
memcpy(pih, poh, sizeof(*poh));
rctx->tx.tot_len = sizeof(*poh);
switch (poh->cmd) {
case OPENPCD_CMD_WRITE_REG: