mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
staging: vt6656: rename CARDbClearCurrentTSF to vnt_clear_current_tsf
Drop card and rename to vnt_clear_current_tsf Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4a9f4c655c
commit
dba066e9fe
3 changed files with 4 additions and 4 deletions
|
@ -633,7 +633,7 @@ bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf)
|
|||
* Return Value: true if success; otherwise false
|
||||
*
|
||||
*/
|
||||
bool CARDbClearCurrentTSF(struct vnt_private *priv)
|
||||
bool vnt_clear_current_tsf(struct vnt_private *priv)
|
||||
{
|
||||
|
||||
MACvRegBitsOn(priv, MAC_REG_TFTCTL, TFTCTL_TSFCNTRST);
|
||||
|
@ -694,7 +694,7 @@ void CARDvSetFirstNextTBTT(struct vnt_private *priv, u16 beacon_interval)
|
|||
u64 next_tbtt = 0;
|
||||
u8 data[8];
|
||||
|
||||
CARDbClearCurrentTSF(priv);
|
||||
vnt_clear_current_tsf(priv);
|
||||
|
||||
next_tbtt = CARDqGetNextTBTT(next_tbtt, beacon_interval);
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ void vnt_add_basic_rate(struct vnt_private *, u16);
|
|||
int vnt_ofdm_min_rate(struct vnt_private *);
|
||||
void vnt_adjust_tsf(struct vnt_private *, u8, u64, u64);
|
||||
bool vnt_get_current_tsf(struct vnt_private *, u64 *);
|
||||
bool CARDbClearCurrentTSF(struct vnt_private *pDevice);
|
||||
bool vnt_clear_current_tsf(struct vnt_private *);
|
||||
void CARDvSetFirstNextTBTT(struct vnt_private *pDevice, u16 wBeaconInterval);
|
||||
void CARDvUpdateNextTBTT(struct vnt_private *pDevice, u64 qwTSF,
|
||||
u16 wBeaconInterval);
|
||||
|
|
|
@ -2046,7 +2046,7 @@ void vMgrCreateOwnIBSS(struct vnt_private *pDevice, PCMD_STATUS pStatus)
|
|||
|
||||
vnt_get_current_tsf(pDevice, &qwCurrTSF);
|
||||
// clear TSF counter
|
||||
CARDbClearCurrentTSF(pDevice);
|
||||
vnt_clear_current_tsf(pDevice);
|
||||
|
||||
// enable TSF counter
|
||||
MACvRegBitsOn(pDevice,MAC_REG_TFTCTL,TFTCTL_TSFCNTREN);
|
||||
|
|
Loading…
Reference in a new issue