]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8723bs: Replace yield() call with cond_resched()
authorThomas Avery <tavery321@gmail.com>
Wed, 28 Mar 2018 22:26:22 +0000 (18:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 10:00:15 +0000 (12:00 +0200)
commitc22da34a1b9996ffc6aadb4804422e04fe28b7e1
tree17d4795763a8c131e43774319d7a7654537b6415
parent8040b57ad89c1fda7f9e96a3b163b7617a2ab265
staging: rtl8723bs: Replace yield() call with cond_resched()

Remove yield call(). yield does not guarantee progress, and should not
be used. cond_resched() is a safe alternative.

Signed-off-by: Thomas Avery <tavery321@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c