提交 113f0b91 编写于 作者: M Malcolm Priestley 提交者: Greg Kroah-Hartman

staging: vt6656: struct vnt_private rename qwCurrTSF to current_tsf

Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 35cc8f94
...@@ -583,7 +583,7 @@ void vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, ...@@ -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) bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf)
{ {
*current_tsf = priv->qwCurrTSF; *current_tsf = priv->current_tsf;
return true; return true;
} }
...@@ -604,7 +604,7 @@ bool vnt_clear_current_tsf(struct vnt_private *priv) ...@@ -604,7 +604,7 @@ bool vnt_clear_current_tsf(struct vnt_private *priv)
vnt_mac_reg_bits_on(priv, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST); vnt_mac_reg_bits_on(priv, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST);
priv->qwCurrTSF = 0; priv->current_tsf = 0;
return true; return true;
} }
......
...@@ -311,7 +311,7 @@ struct vnt_private { ...@@ -311,7 +311,7 @@ struct vnt_private {
u8 exist_sw_net_addr; u8 exist_sw_net_addr;
u64 qwCurrTSF; u64 current_tsf;
/* 802.11 MAC specific */ /* 802.11 MAC specific */
u32 uCurrRSSI; u32 uCurrRSSI;
......
...@@ -162,7 +162,7 @@ void vnt_int_process_data(struct vnt_private *priv) ...@@ -162,7 +162,7 @@ void vnt_int_process_data(struct vnt_private *priv)
} }
#endif #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->dot11RTSSuccessCount += int_data->rts_success;
low_stats->dot11RTSFailureCount += int_data->rts_fail; low_stats->dot11RTSFailureCount += int_data->rts_fail;
......
...@@ -924,7 +924,7 @@ static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) ...@@ -924,7 +924,7 @@ static u64 vnt_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
{ {
struct vnt_private *priv = hw->priv; 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, static void vnt_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册