From e809c96ee562a3e4541bcfc75f649d94de5f0940 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Fri, 30 May 2014 16:27:49 +0100 Subject: [PATCH] staging: vt6656: rename CARDbyGetPktType to vnt_get_pkt_type drop card rename to vnt_get_pkt_type Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/card.c | 4 ++-- drivers/staging/vt6656/card.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c index 8e6158b9c4e3..27ed88b54c59 100644 --- a/drivers/staging/vt6656/card.c +++ b/drivers/staging/vt6656/card.c @@ -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); diff --git a/drivers/staging/vt6656/card.h b/drivers/staging/vt6656/card.h index 41871e9fa70b..7a844c34c5dc 100644 --- a/drivers/staging/vt6656/card.h +++ b/drivers/staging/vt6656/card.h @@ -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__ */