From: Jes Sorensen Date: Wed, 3 Feb 2016 18:40:00 +0000 (-0500) Subject: rtl8xxxu: Do not mask RF registers to 6 bits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc254ca41134d9bbc6227d133ef5e220f14529b5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git rtl8xxxu: Do not mask RF registers to 6 bits Newer chips have RF registers beyond the original 0x3f address. Signed-off-by: Jes Sorensen Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c index a6c8dabc87ba..af17ae7e6cdd 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c @@ -2536,8 +2536,6 @@ static int rtl8xxxu_init_rf_regs(struct rtl8xxxu_priv *priv, continue; } - reg &= 0x3f; - ret = rtl8xxxu_write_rfreg(priv, path, reg, val); if (ret) { dev_warn(&priv->udev->dev,