OSDN Git Service

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

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

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