rtl8xxxu: Fix rtl8723bu driver reload issue
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 18 Nov 2016 21:44:24 +0000 (16:44 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 Nov 2016 09:51:00 +0000 (11:51 +0200)
commitb9af9355112773a1777fc7ba876882293f0fa58f
tree20921d1f00cc8cb8c171be67908357762726d74b
parentcf7cfef0646274fdfafb2387f38d7acaa0dba8cf
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c