summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/realtek/rtl8xxxu
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2016-04-14 14:59:06 -0400
committerKalle Valo <kvalo@codeaurora.org>2016-04-15 21:36:46 +0300
commit46b378318de9e8e9d3b479e6adb2cec55c01c2ef (patch)
tree64ab47ae14ce3bf3eb4e8bdbdd5b461c7c3d6689 /drivers/net/wireless/realtek/rtl8xxxu
parent31133da702e4229acbd813350660f3053daa57c6 (diff)
downloadlwn-46b378318de9e8e9d3b479e6adb2cec55c01c2ef.tar.gz
lwn-46b378318de9e8e9d3b479e6adb2cec55c01c2ef.zip
rtl8xxxu: 8192eu Fix bug in LDPC RX hang fix
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>
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu')
-rw-r--r--drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
index 5c56a4fc088b..6febda5d0c75 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
@@ -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;