summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/pcd/rc632.c2
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;
personal git repositories of Harald Welte. Your mileage may vary