]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: vt6655: set_channel replace bResult with ret
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 22 Nov 2015 09:07:17 +0000 (09:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:02:03 +0000 (19:02 -0800)
Removing camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/channel.c

index d1c91165f769dc543b390fd0112c2ca0e3e94d06..9ac1ef9d0d5126a9e59e42eaf37e97806684cacc 100644 (file)
@@ -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;
 }