mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-12 20:31:49 +00:00
staging: vt6655: set_channel replace bResult with ret
Removing camel case. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cea57ee6be
commit
b379916559
@ -176,10 +176,10 @@ void vnt_init_bands(struct vnt_private *priv)
|
|||||||
*/
|
*/
|
||||||
bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
|
bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
|
||||||
{
|
{
|
||||||
bool bResult = true;
|
bool ret = true;
|
||||||
|
|
||||||
if (priv->byCurrentCh == ch->hw_value)
|
if (priv->byCurrentCh == ch->hw_value)
|
||||||
return bResult;
|
return ret;
|
||||||
|
|
||||||
/* Set VGA to max sensitivity */
|
/* Set VGA to max sensitivity */
|
||||||
if (priv->bUpdateBBVGA &&
|
if (priv->bUpdateBBVGA &&
|
||||||
@ -200,8 +200,8 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
|
|||||||
ch->hw_value);
|
ch->hw_value);
|
||||||
|
|
||||||
priv->byCurrentCh = ch->hw_value;
|
priv->byCurrentCh = ch->hw_value;
|
||||||
bResult &= RFbSelectChannel(priv, priv->byRFType,
|
ret &= RFbSelectChannel(priv, priv->byRFType,
|
||||||
ch->hw_value);
|
ch->hw_value);
|
||||||
|
|
||||||
/* Init Synthesizer Table */
|
/* Init Synthesizer Table */
|
||||||
if (priv->bEnablePSMode)
|
if (priv->bEnablePSMode)
|
||||||
@ -232,5 +232,5 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
|
|||||||
else
|
else
|
||||||
RFbSetPower(priv, RATE_6M, priv->byCurrentCh);
|
RFbSetPower(priv, RATE_6M, priv->byCurrentCh);
|
||||||
|
|
||||||
return bResult;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user