Re: [PATCH v2] staging: rtl8723bs: replace msleep() with fsleep() in rtw_cmd.c
From: Ethan Tidmore
Date: Fri Feb 27 2026 - 23:47:25 EST
On Fri Feb 27, 2026 at 2:46 AM CST, Jose A. Perez de Azpillaga wrote:
> Replace msleep() with fsleep() in rtw_cmd.c to improve delay
> precision and follow modern kernel practices.
>
> Specifically, this fixes a checkpatch warning for the 10ms delay
> in _rtw_free_evt_priv() and updates the 100ms polling loops in
> rtw_chk_hi_queue_hdl() and rtw_free_cmd_priv() for consistency.
>
> Signed-off-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>
> ---
> v2: changed to USEC_PER_MSEC instead of magic numbers
> ---
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Sorry about the confusion, LGTM.
Reviewed-by: Ethan Tidmore <ethantidmore06@xxxxxxxxx>
Thanks,
ET