summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6655/channel.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-11-22 09:07:17 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:02:03 -0800
commitb379916559b09caa64b9c4bff36ac139a42c6c7b (patch)
tree1e3b2712f54442845ce70164f75c44a026288821 /drivers/staging/vt6655/channel.c
parentcea57ee6be0a94ff9f9a73e99800b5d25e7229d1 (diff)
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>
Diffstat (limited to 'drivers/staging/vt6655/channel.c')
-rw-r--r--drivers/staging/vt6655/channel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/channel.c b/drivers/staging/vt6655/channel.c
index d1c91165f769..9ac1ef9d0d51 100644
--- a/drivers/staging/vt6655/channel.c
+++ b/drivers/staging/vt6655/channel.c
@@ -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,8 +200,8 @@ bool set_channel(struct vnt_private *priv, struct ieee80211_channel *ch)
ch->hw_value);
priv->byCurrentCh = ch->hw_value;
- bResult &= RFbSelectChannel(priv, priv->byRFType,
- ch->hw_value);
+ ret &= RFbSelectChannel(priv, priv->byRFType,
+ ch->hw_value);
/* Init Synthesizer Table */
if (priv->bEnablePSMode)
@@ -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;
}