]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Fix rtl8192eu driver reload issue
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 18 Nov 2016 21:44:25 +0000 (16:44 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 Nov 2016 09:51:00 +0000 (11:51 +0200)
commit2759addf17930a76f9b56be7e762847f5885907d
tree5aafedce4d983bb3ee2ae99bca0aae029d549405
parent51deba2eb796674143293d4949857d7c5c575762
rtl8xxxu: Fix rtl8192eu driver reload issue

The 8192eu suffered from two issues when reloading the driver.

The same problems as with the 8723bu where REG_RX_WAIT_CCA bits 22 and
23 didn't get set in rtl8192e_enable_rf().

In addition it also seems prone to issues when setting REG_RF_CTRL to
0 intead of just disabling the RF_ENABLE bit. Similar to what was
causing issues with the 8188eu.

With this patch I can successfully reload the driver and reassociate
to an APi with an 8192eu dongle.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c