Browse Source

qcacld-3.0: Fix LL Timeout over Debugfs

Clear the stats bitmap properly such that LL stats is complete.

Change-Id: I1238c438e9d57000006ae46474569c4f2cf60e8f
CRs-Fixed: 2690186
Alan Chen 4 years ago
parent
commit
18f31f1c48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/hdd/src/wlan_hdd_stats.c

+ 2 - 0
core/hdd/src/wlan_hdd_stats.c

@@ -1211,6 +1211,8 @@ static void hdd_debugfs_process_ll_stats(struct hdd_adapter *adapter,
 
 
 		if (!results->num_peers)
 		if (!results->num_peers)
 			priv->request_bitmap &= ~(WMI_LINK_STATS_ALL_PEER);
 			priv->request_bitmap &= ~(WMI_LINK_STATS_ALL_PEER);
+
+		priv->request_bitmap &= ~(WMI_LINK_STATS_IFACE);
 	} else if (results->paramId & WMI_LINK_STATS_ALL_PEER) {
 	} else if (results->paramId & WMI_LINK_STATS_ALL_PEER) {
 		hdd_debugfs_process_peer_stats(adapter, results->results);
 		hdd_debugfs_process_peer_stats(adapter, results->results);
 		if (!results->moreResultToFollow)
 		if (!results->moreResultToFollow)