staging: r8188eu: simplify delay conditions in rtw_pwr_wakeup
authorMartin Kaiser <martin@kaiser.cx>
Wed, 13 Apr 2022 19:36:47 +0000 (21:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:06:59 +0000 (09:06 +0200)
commitc5c3e3464ec36c6d91bf39a647b07e3ed9d4fe81
tree6636d39220af2b917814d4a074c8ecbc24c9ac93
parenta848981be6e8cb762f2166cdc1daf58783c5c3d1
staging: r8188eu: simplify delay conditions in rtw_pwr_wakeup

Simplify the conditions for a loop in rtw_pwr_wakeup that waits while
the system is suspended.

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