mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Replace rtw_get_current_time() with jiffies
Port of c01fb49636b65ceea513c00966c58b8bdb095c8f
This commit is contained in:
@@ -1952,7 +1952,7 @@ void rtw_bf_update_traffic(PADAPTER adapter)
|
||||
|
||||
last_timestamp = bfee->tx_timestamp;
|
||||
last_bytes = bfee->tx_bytes;
|
||||
bfee->tx_timestamp = rtw_get_current_time();
|
||||
bfee->tx_timestamp = jiffies;
|
||||
bfee->tx_bytes = sta->sta_stats.tx_bytes;
|
||||
if (last_timestamp) {
|
||||
if (bfee->tx_bytes >= last_bytes)
|
||||
|
||||
Reference in New Issue
Block a user