usb: device_next: Update remote wakeup log level

The `Remote wakeup feature not enabled or not suspended` log is not
related to an actual error (connected host might not enable USB remote
wakeup feature). Use warning log level.

Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
This commit is contained in:
Marek Pieta 2024-06-03 14:12:28 +02:00 committed by Henrik Brix Andersen
parent 4fc6506a8a
commit 059643062c

View file

@ -160,7 +160,7 @@ int usbd_wakeup_request(struct usbd_context *const uds_ctx)
}
if (!uds_ctx->status.rwup || !usbd_is_suspended(uds_ctx)) {
LOG_ERR("Remote wakeup feature not enabled or not suspended");
LOG_WRN("Remote wakeup feature not enabled or not suspended");
ret = -EACCES;
goto wakeup_request_error;
}