• Jes Sorensen's avatar
    rtl8xxxu: Fix rtl8192eu driver reload issue · 29d5e6fb
    Jes Sorensen authored
    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: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
    Cc: stable@vger.kernel.org # 4.8+
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    29d5e6fb
rtl8xxxu_8192e.c 51.1 KB