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

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

rtl8xxxu: Identify 8192eu rev A/B parts correctly



8192eu A/B cut parts were incorrectly identified as 8192cu devices.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent ba17d824
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2221,7 +2221,7 @@ static int rtl8xxxu_identify_chip(struct rtl8xxxu_priv *priv)
	} else if (val32 & SYS_CFG_TYPE_ID) {
	} else if (val32 & SYS_CFG_TYPE_ID) {
		bonding = rtl8xxxu_read32(priv, REG_HPON_FSM);
		bonding = rtl8xxxu_read32(priv, REG_HPON_FSM);
		bonding &= HPON_FSM_BONDING_MASK;
		bonding &= HPON_FSM_BONDING_MASK;
		if (priv->chip_cut >= 3) {
		if (priv->fops->has_s0s1) {
			if (bonding == HPON_FSM_BONDING_1T2R) {
			if (bonding == HPON_FSM_BONDING_1T2R) {
				sprintf(priv->chip_name, "8191EU");
				sprintf(priv->chip_name, "8191EU");
				priv->rf_paths = 2;
				priv->rf_paths = 2;