|
@@ -6619,6 +6619,11 @@ static void hdd_bus_bw_work_handler(struct work_struct *work)
|
|
tx_packets += (uint64_t)ipa_tx_packets;
|
|
tx_packets += (uint64_t)ipa_tx_packets;
|
|
rx_packets += (uint64_t)ipa_rx_packets;
|
|
rx_packets += (uint64_t)ipa_rx_packets;
|
|
|
|
|
|
|
|
+ if (adapter) {
|
|
|
|
+ adapter->stats.tx_packets += ipa_tx_packets;
|
|
|
|
+ adapter->stats.rx_packets += ipa_rx_packets;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (!connected) {
|
|
if (!connected) {
|
|
hdd_err("bus bandwidth timer running in disconnected state");
|
|
hdd_err("bus bandwidth timer running in disconnected state");
|
|
return;
|
|
return;
|