staging: r8188eu: improve timeout handling in LPS_RF_ON_check
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Apr 2022 16:32:09 +0000 (18:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:49:58 +0000 (15:49 +0200)
commit11788aac9228875cac0a6b1a303521fe47115d24
tree86af4cbf715744041ebea8a36556c62e6a176b6f
parent2b1795e42a48b1fc398dd16c5df975e9c26d9195
staging: r8188eu: improve timeout handling in LPS_RF_ON_check

Use the standard kernel functions to define and check the timeout in
LPS_RF_ON_check.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220409163212.241122-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_pwrctrl.c