Commit b3799165 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: set_channel replace bResult with ret



Removing camel case.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cea57ee6
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -176,10 +176,10 @@ void vnt_init_bands(struct vnt_private *priv)
 */
bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
{
	bool bResult = true;
	bool ret = true;

	if (priv->byCurrentCh == ch->hw_value)
		return bResult;
		return ret;

	/* Set VGA to max sensitivity */
	if (priv->bUpdateBBVGA &&
@@ -200,7 +200,7 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
						  ch->hw_value);

	priv->byCurrentCh = ch->hw_value;
	bResult &= RFbSelectChannel(priv, priv->byRFType,
	ret &= RFbSelectChannel(priv, priv->byRFType,
				ch->hw_value);

	/* Init Synthesizer Table */
@@ -232,5 +232,5 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
	else
		RFbSetPower(priv, RATE_6M, priv->byCurrentCh);

	return bResult;
	return ret;
}