rtl8xxxu: Do not mask RF registers to 6 bits

Newer chips have RF registers beyond the original 0x3f address.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Jes Sorensen 2016-02-03 13:40:00 -05:00 committed by Kalle Valo
parent a9ffa615aa
commit dc254ca411

View File

@ -2536,8 +2536,6 @@ static int rtl8xxxu_init_rf_regs(struct rtl8xxxu_priv *priv,
continue; continue;
} }
reg &= 0x3f;
ret = rtl8xxxu_write_rfreg(priv, path, reg, val); ret = rtl8xxxu_write_rfreg(priv, path, reg, val);
if (ret) { if (ret) {
dev_warn(&priv->udev->dev, dev_warn(&priv->udev->dev,