qcacld-3.0: Set chipset stats bits when user requests ring data
Set chipset stats bits i.e HOST_LOG_CHIPSET_STATS for host chipset stats and FW_LOG_CHIPSET_STATS for firmware chipset stats in gwlan_logging.eventFlag object whenever user requests ring data inorder to flush both host and fw chipset stats buffer. Change-Id: I3701c65d2f3a94773e34f14c1a5742ec9b416347 CRs-Fixed: 3783014
This commit is contained in:

committed by
Ravindra Konda

parent
499e272c51
commit
8a00cb7777
@@ -15154,6 +15154,9 @@ static int __wlan_hdd_cfg80211_wifi_logger_get_ring_data(struct wiphy *wiphy,
|
||||
hdd_err("Failed to trigger bug report");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
wlan_set_chipset_stats_bit();
|
||||
|
||||
status = wlan_logging_wait_for_flush_log_completion();
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
hdd_err("wait for flush log timed out");
|
||||
|
Reference in New Issue
Block a user