]> git.baikalelectronics.ru Git - kernel.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)
commitbc4e701eec69aa34f36faec0089596d411d35b82
tree17d4795763a8c131e43774319d7a7654537b6415
parentb7bc3cf6c454393ea9734d61295175d810c6e511
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