提交 dc254ca4 编写于 作者: J Jes Sorensen 提交者: Kalle Valo

rtl8xxxu: Do not mask RF registers to 6 bits

Newer chips have RF registers beyond the original 0x3f address.
Signed-off-by: NJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 a9ffa615
...@@ -2536,8 +2536,6 @@ static int rtl8xxxu_init_rf_regs(struct rtl8xxxu_priv *priv, ...@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册