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

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

index 8e6158b9c4e3b89268dc2fb7b176dd92ff721c1a..27ed88b54c59f648ca74a739a2530c17f06b5490 100644 (file)
@@ -526,7 +526,7 @@ int vnt_ofdm_min_rate(struct vnt_private *priv)
        return false;
 }
 
-u8 CARDbyGetPktType(struct vnt_private *priv)
+u8 vnt_get_pkt_type(struct vnt_private *priv)
 {
 
        if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B)
@@ -836,7 +836,7 @@ void CARDvSetBSSMode(struct vnt_private *priv)
        else
                MACvSetBBType(priv, priv->byBBType);
 
-       priv->byPacketType = CARDbyGetPktType(priv);
+       priv->byPacketType = vnt_get_pkt_type(priv);
 
        if (priv->byBBType == BB_TYPE_11A)
                vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x88, 0x03);
index 41871e9fa70bfdc8a6611900485ee0eafb600ef3..7a844c34c5dc832d72c075c7146af8eef7f92a0e 100644 (file)
@@ -62,7 +62,7 @@ u64 CARDqGetNextTBTT(u64 qwTSF, u16 wBeaconInterval);
 u64 CARDqGetTSFOffset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2);
 int CARDbRadioPowerOff(struct vnt_private *pDevice);
 int CARDbRadioPowerOn(struct vnt_private *pDevice);
-u8 CARDbyGetPktType(struct vnt_private *pDevice);
+u8 vnt_get_pkt_type(struct vnt_private *);
 void CARDvSetBSSMode(struct vnt_private *pDevice);
 
 #endif /* __CARD_H__ */