staging: vt6656: rename swGetCCKControlRate to vnt_get_cck_rate
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 30 May 2014 15:27:41 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:55:42 +0000 (15:55 -0700)
Drop control and just use vnt_get_cck_rate.

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

index f8ba75bcfc16673679f6a5e2548960fc8a882002..b2dc8a8c3a663a9dec30c1799304879f0ecf4670 100644 (file)
@@ -128,7 +128,7 @@ void vnt_set_channel(struct vnt_private *priv, u32 connection_channel)
  * Return Value: response Control frame rate
  *
  */
-static u16 swGetCCKControlRate(struct vnt_private *priv, u16 rate_idx)
+static u16 vnt_get_cck_rate(struct vnt_private *priv, u16 rate_idx)
 {
        u16 ui = rate_idx;
 
@@ -301,19 +301,19 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
 
        /*RSPINF_b_1*/
        BBvCalculateParameter(priv, 14,
-               swGetCCKControlRate(priv, RATE_1M), PK_TYPE_11B, &phy[0]);
+               vnt_get_cck_rate(priv, RATE_1M), PK_TYPE_11B, &phy[0]);
 
        /*RSPINF_b_2*/
        BBvCalculateParameter(priv, 14,
-               swGetCCKControlRate(priv, RATE_2M), PK_TYPE_11B, &phy[1]);
+               vnt_get_cck_rate(priv, RATE_2M), PK_TYPE_11B, &phy[1]);
 
        /*RSPINF_b_5*/
        BBvCalculateParameter(priv, 14,
-               swGetCCKControlRate(priv, RATE_5M), PK_TYPE_11B, &phy[2]);
+               vnt_get_cck_rate(priv, RATE_5M), PK_TYPE_11B, &phy[2]);
 
        /*RSPINF_b_11*/
        BBvCalculateParameter(priv, 14,
-               swGetCCKControlRate(priv, RATE_11M), PK_TYPE_11B, &phy[3]);
+               vnt_get_cck_rate(priv, RATE_11M), PK_TYPE_11B, &phy[3]);
 
 
        /*RSPINF_a_6*/