staging: r8188eu: call msecs_to_jiffies in _set_timer
authorMartin Kaiser <martin@kaiser.cx>
Sat, 15 Jan 2022 16:55:32 +0000 (17:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:27:23 +0000 (16:27 +0100)
commitac76abcbf1072a5d77f3274799933b25865ae985
tree421cb3d93ca345cb510bd73a540b7c30bd71bdc0
parent2bd4aa6acb115d6fd9225401e3cf38852f6ec7de
staging: r8188eu: call msecs_to_jiffies in _set_timer

The _set_timer wrapper function takes a timeout in milliseconds.
Call msecs_to_jiffies to convert the timeout to jiffies. Don't do
the calculation ourselves.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220115165536.231210-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/osdep_service.h