Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc254ca4 authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo
Browse files

rtl8xxxu: Do not mask RF registers to 6 bits



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

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent a9ffa615
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,