]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: Replace msleep() with fsleep()
authorMarcos Andrade <marcosandrade95963@gmail.com>
Mon, 16 Mar 2026 22:19:24 +0000 (19:19 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:52:59 +0000 (16:52 +0100)
commitf8252d54c4c1789b4c827216b3c338bc3197cfcf
tree3db1682eeeffb926c02d173dc72a5cd497050125
parent9b17baf171c16706594a30fcac9e9b5be3ac6671
staging: rtl8723bs: Replace msleep() with fsleep()

Replace msleep(10) with fsleep(10 * USEC_PER_MSEC)
in _rtw_init_xmit_priv().
fsleep() is the new standard API for delays, as it automatically chooses
the best sleep method based on the duration.

Suggested-by: Ethan Tidmore <ethantidmore06@gmail.com>
Signed-off-by: Marcos Andrade <marcosandrade95963@gmail.com>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260316221924.4904-3-marcosandrade95963@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c