diff options
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c index 4a6af72013fa..85f7769ecc2d 100644 --- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c +++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c @@ -701,7 +701,7 @@ void LPS_Leave_check( bReady = false; start_time = jiffies; - yield(); + cond_resched(); while (1) { down(&pwrpriv->lock); |