diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-23 14:50:11 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-23 14:50:11 +0000 |
commit | 57d818a32dafe0d9941bac88f78bbd45ffb0e21b (patch) | |
tree | cc242e5e4c97ec7392173eb8280bf332d77c3987 /firmware/src/pcd | |
parent | 460ece8365600e1a8fdb124c2f68de6aabf1fa62 (diff) |
- fix return value in case of unknown command
git-svn-id: https://svn.openpcd.org:2342/trunk@223 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/pcd')
-rw-r--r-- | firmware/src/pcd/rc632.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/src/pcd/rc632.c b/firmware/src/pcd/rc632.c index da9ffd0..147024f 100644 --- a/firmware/src/pcd/rc632.c +++ b/firmware/src/pcd/rc632.c @@ -484,7 +484,7 @@ static int rc632_usb_in(struct req_ctx *rctx) break; default: DEBUGP("UNKNOWN "); - return -EINVAL; + return USB_ERR(USB_ERR_CMD_UNKNOWN); } return (poh->flags & OPENPCD_FLAG_RESPOND) ? USB_RET_RESPOND : 0; |