From: Jes Sorensen <[email protected]>

Write the adjusted value back to the correct register

Signed-off-by: Jes Sorensen <[email protected]>
---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c 
b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
index 5c56a4f..6febda5 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;
-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to