Skip to content

Commit 080f883

Browse files
committed
[nrf fromtree] 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 <[email protected]> (cherry picked from commit 0596430)
1 parent 258d500 commit 080f883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/usb/device_next/usbd_device.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ int usbd_wakeup_request(struct usbd_contex *const uds_ctx)
160160
}
161161

162162
if (!uds_ctx->status.rwup || !usbd_is_suspended(uds_ctx)) {
163-
LOG_ERR("Remote wakeup feature not enabled or not suspended");
163+
LOG_WRN("Remote wakeup feature not enabled or not suspended");
164164
ret = -EACCES;
165165
goto wakeup_request_error;
166166
}

0 commit comments

Comments
 (0)