rtl8xxxu: 8192eu Fix bug in LDPC RX hang fix
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 18:59:06 +0000 (14:59 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:36:46 +0000 (21:36 +0300)
Write the adjusted value back to the correct register

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

index 5c56a4fc088ba594404438965ccfa26578ccf466..6febda5d0c75a8f03c8ef2fd18ce21fa54ebe39c 100644 (file)
@@ -7967,7 +7967,7 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
                rtl8xxxu_write8(priv, REG_8192E_LDOV12_CTRL, 0x75);
                val32 &= 0xfff00fff;
                val32 |= 0x0007e000;
-               rtl8xxxu_write32(priv, REG_8192E_LDOV12_CTRL, val32);
+               rtl8xxxu_write32(priv, REG_AFE_MISC, val32);
        }
 exit:
        return ret;