aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-05-24 14:37:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-25 10:58:24 -0700
commit3fd2a69c6ebf7c16b731438bd4de003e9c929ea7 (patch)
tree98ed45c674a9e781adee8f4cd4308e1624cf1b1a /drivers/staging/vt6656
parent1f44238f6c040694f4bf5226db72c34e90c97e26 (diff)
staging: vt6656: CARDqGetTSFOffset remove camel case
camel case changes byRxRate -> rx_rate qwTSF1 -> tsf1 qwTSF2 -> tsf2 qwTSFOffset -> tsf_offset wRxBcnTSFOffst -> rx_bcn_offset Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r--drivers/staging/vt6656/card.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index e39bdd59dfd..8d12ae9a7ac 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -551,27 +551,27 @@ u8 CARDbyGetPktType(struct vnt_private *priv)
*
* Parameters:
* In:
- * pDevice - The adapter to be sync.
- * qwTSF1 - Rx BCN's TSF
- * qwTSF2 - Local TSF
+ * rx_rate - rx rate.
+ * tsf1 - Rx BCN's TSF
+ * tsf2 - Local TSF
* Out:
* none
*
* Return Value: TSF Offset value
*
*/
-u64 CARDqGetTSFOffset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2)
+u64 CARDqGetTSFOffset(u8 rx_rate, u64 tsf1, u64 tsf2)
{
- u64 qwTSFOffset = 0;
- u16 wRxBcnTSFOffst = 0;
+ u64 tsf_offset = 0;
+ u16 rx_bcn_offset = 0;
- wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate % MAX_RATE];
+ rx_bcn_offset = cwRXBCNTSFOff[rx_rate % MAX_RATE];
- qwTSF2 += (u64)wRxBcnTSFOffst;
+ tsf2 += (u64)rx_bcn_offset;
- qwTSFOffset = qwTSF1 - qwTSF2;
+ tsf_offset = tsf1 - tsf2;
- return qwTSFOffset;
+ return tsf_offset;
}
/*