Skip to content
Commit 1d81c0cf authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Anas Nashif
Browse files

usb: usb_dc_native_posix: Fix buffer and max data 0 case



When both buffer and max data to read are zero return
the available data in buffer.

Fixes #20838

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent 5b22c881
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment