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

Commit e0bf428e authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Sasha Levin
Browse files

vt6655: RFbSetPower fix missing rate RATE_12M



[ Upstream commit 40c8790bcb7ac74f3038153cd09310e220c6a1df ]

When the driver sets this rate a power of zero value is set causing
data flow stoppage until another rate is tried.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent c1fd7cc2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -923,6 +923,7 @@ bool RFbSetPower(
		break;
	case RATE_6M:
	case RATE_9M:
	case RATE_12M:
	case RATE_18M:
		byPwr = pDevice->abyOFDMPwrTbl[uCH];
		if (pDevice->byRFType == RF_UW2452)