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

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

index b2dc8a8c3a663a9dec30c1799304879f0ecf4670..695236bfa932c39e7853ffdc84b545d7f84b3153 100644 (file)
@@ -154,7 +154,7 @@ static u16 vnt_get_cck_rate(struct vnt_private *priv, u16 rate_idx)
  * Return Value: response Control frame rate
  *
  */
-static u16 swGetOFDMControlRate(struct vnt_private *priv, u16 rate_idx)
+static u16 vnt_get_ofdm_rate(struct vnt_private *priv, u16 rate_idx)
 {
        u16 ui = rate_idx;
 
@@ -337,19 +337,19 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
                                                &tx_rate[4], &rsv_time[4]);
 
        /*RSPINF_a_36*/
-       CARDvCalculateOFDMRParameter(swGetOFDMControlRate(priv, RATE_36M),
+       CARDvCalculateOFDMRParameter(vnt_get_ofdm_rate(priv, RATE_36M),
                                        bb_type, &tx_rate[5], &rsv_time[5]);
 
        /*RSPINF_a_48*/
-       CARDvCalculateOFDMRParameter(swGetOFDMControlRate(priv, RATE_48M),
+       CARDvCalculateOFDMRParameter(vnt_get_ofdm_rate(priv, RATE_48M),
                                        bb_type, &tx_rate[6], &rsv_time[6]);
 
        /*RSPINF_a_54*/
-       CARDvCalculateOFDMRParameter(swGetOFDMControlRate(priv, RATE_54M),
+       CARDvCalculateOFDMRParameter(vnt_get_ofdm_rate(priv, RATE_54M),
                                        bb_type, &tx_rate[7], &rsv_time[7]);
 
        /*RSPINF_a_72*/
-       CARDvCalculateOFDMRParameter(swGetOFDMControlRate(priv, RATE_54M),
+       CARDvCalculateOFDMRParameter(vnt_get_ofdm_rate(priv, RATE_54M),
                                        bb_type, &tx_rate[8], &rsv_time[8]);
 
        put_unaligned(phy[0].len, (u16 *)&data[0]);