mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-01 07:00:01 +00:00
Replace rtw_get_current_time() with jiffies
Port of c01fb49636b65ceea513c00966c58b8bdb095c8f
This commit is contained in:
@@ -394,7 +394,7 @@ void halbtcoutsrc_LeaveLowPower(PBTC_COEXIST pBtCoexist)
|
||||
if (GLBtcBtCoexAliveRegistered == _TRUE)
|
||||
return;
|
||||
|
||||
stime = rtw_get_current_time();
|
||||
stime = jiffies;
|
||||
do {
|
||||
ready = rtw_register_task_alive(padapter, BTCOEX_ALIVE);
|
||||
if (_SUCCESS == ready)
|
||||
@@ -454,7 +454,7 @@ void halbtcoutsrc_AggregationCheck(PBTC_COEXIST pBtCoexist)
|
||||
/* It can only be called after 8 seconds. */
|
||||
/* ===================================== */
|
||||
|
||||
curTime = rtw_systime_to_ms(rtw_get_current_time());
|
||||
curTime = rtw_systime_to_ms(jiffies);
|
||||
if ((curTime - preTime) < HALBTCOUTSRC_AGG_CHK_WINDOW_IN_MS) /* over 8 seconds you can execute this function again. */
|
||||
return;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user