]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Fix rtl8723bu driver reload issue
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 30 Sep 2016 23:35:17 +0000 (19:35 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 7 Oct 2016 11:23:50 +0000 (14:23 +0300)
commit2d04288b2b7597ae64ebbe0918751ec3e5bb1529
treea69d7cb140b40d0cc5a1f8c529b7b7cf4897e1e7
parentbd7ba1befdda5634da157049f9c520a2d682b388
rtl8xxxu: Fix rtl8723bu driver reload issue

The generic disable_rf() function clears bits 22 and 23 in
REG_RX_WAIT_CCA, however we did not re-enable them again in
rtl8723b_enable_rf()

This resolves the problem for me with 8723bu devices not working again
after reloading the driver.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: stable@vger.kernel.org # 4.7+
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c