mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Routine rtw_get_current_time() is a synonym for jiffies
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
537fff9e9d
commit
45a86628d2
32 changed files with 127 additions and 133 deletions
|
@ -3895,14 +3895,14 @@ s32 rtw_xmit(_adapter *padapter, _pkt **ppkt)
|
|||
DBG_COUNTER(padapter->tx_logs.core_tx);
|
||||
|
||||
if (start == 0)
|
||||
start = rtw_get_current_time();
|
||||
start = jiffies;
|
||||
|
||||
pxmitframe = rtw_alloc_xmitframe(pxmitpriv);
|
||||
|
||||
if (rtw_get_passing_time_ms(start) > 2000) {
|
||||
if (drop_cnt)
|
||||
RTW_INFO("DBG_TX_DROP_FRAME %s no more pxmitframe, drop_cnt:%u\n", __func__, drop_cnt);
|
||||
start = rtw_get_current_time();
|
||||
start = jiffies;
|
||||
drop_cnt = 0;
|
||||
}
|
||||
|
||||
|
@ -5012,7 +5012,7 @@ void rtw_amsdu_cancel_timer(_adapter *padapter, u8 priority)
|
|||
void rtw_sctx_init(struct submit_ctx *sctx, int timeout_ms)
|
||||
{
|
||||
sctx->timeout_ms = timeout_ms;
|
||||
sctx->submit_time = rtw_get_current_time();
|
||||
sctx->submit_time = jiffies;
|
||||
init_completion(&sctx->done);
|
||||
sctx->status = RTW_SCTX_SUBMITTED;
|
||||
}
|
||||
|
@ -5073,7 +5073,7 @@ int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms)
|
|||
{
|
||||
struct submit_ctx *pack_tx_ops = &pxmitpriv->ack_tx_ops;
|
||||
|
||||
pack_tx_ops->submit_time = rtw_get_current_time();
|
||||
pack_tx_ops->submit_time = jiffies;
|
||||
pack_tx_ops->timeout_ms = timeout_ms;
|
||||
pack_tx_ops->status = RTW_SCTX_SUBMITTED;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue