]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: replace msleep() with fsleep() in rtw_cmd.c
authorJose A. Perez de Azpillaga <azpijr@gmail.com>
Fri, 27 Feb 2026 08:46:12 +0000 (09:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Mar 2026 16:03:17 +0000 (17:03 +0100)
commit1fc63bfed102f536b5322ac46cdd198a5c47ebb6
treea0168686133c9a419a4c2d9580c19cba1665da5e
parent7b6f321f6967f9d224b7c1f19f5efa98a0e2099b
staging: rtl8723bs: replace msleep() with fsleep() in rtw_cmd.c

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@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260227084623.209913-1-azpijr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c