staging: vt6656: struct vnt_private rename qwCurrTSF to current_tsf
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 19 Jul 2014 11:30:13 +0000 (12:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:11:57 +0000 (12:11 -0700)
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/device.h
drivers/staging/vt6656/int.c
drivers/staging/vt6656/main_usb.c

index 3b49ee99c8ea7f10e7fff60b6fe0bbc7dabed67a..8820871821b4eedf73c525ee032c5376c58e2f7f 100644 (file)
@@ -583,7 +583,7 @@ void vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate,
 bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf)
 {
 
-       *current_tsf = priv->qwCurrTSF;
+       *current_tsf = priv->current_tsf;
 
        return true;
 }
@@ -604,7 +604,7 @@ bool vnt_clear_current_tsf(struct vnt_private *priv)
 
        vnt_mac_reg_bits_on(priv, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST);
 
-       priv->qwCurrTSF = 0;
+       priv->current_tsf = 0;
 
        return true;
 }
index 9f1216df6dadfdcf5175271194aef596d4d8b385..7697a73bcc56457f1e3fce2490556998bc884465 100644 (file)
@@ -311,7 +311,7 @@ struct vnt_private {
 
        u8 exist_sw_net_addr;
 
-       u64 qwCurrTSF;
+       u64 current_tsf;
 
        /* 802.11 MAC specific */
        u32 uCurrRSSI;
index 1ea24330b650a8da689cf3a166398aae9d06c4b7..9c5fefc6ab727ac1c7d1091f5313695d2aec943b 100644 (file)
@@ -162,7 +162,7 @@ void vnt_int_process_data(struct vnt_private *priv)
                        }
 #endif
                }
-               priv->qwCurrTSF = le64_to_cpu(int_data->tsf);
+               priv->current_tsf = le64_to_cpu(int_data->tsf);
 
                low_stats->dot11RTSSuccessCount += int_data->rts_success;
                low_stats->dot11RTSFailureCount += int_data->rts_fail;
index 9aaa81631f80f4a964f94905fd791ee84de6627b..c0951bf33e4dc2c3c1a3d31257c843debd2e9b4c 100644 (file)
@@ -924,7 +924,7 @@ static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
 {
        struct vnt_private *priv = hw->priv;
 
-       return priv->qwCurrTSF;
+       return priv->current_tsf;
 }
 
 static void vnt_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif,