summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2016-04-14 20:59:06 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-04-15 20:36:46 +0200
commit46b378318de9e8e9d3b479e6adb2cec55c01c2ef (patch)
tree64ab47ae14ce3bf3eb4e8bdbdd5b461c7c3d6689 /drivers/net
parentrtl8xxxu: Remove unneeded 8192eu hack (diff)
downloadlinux-46b378318de9e8e9d3b479e6adb2cec55c01c2ef.tar.xz
linux-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')
-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;