From 21ae228f0fa406f5a097bef1621fde3e87670653 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Sat, 7 Nov 2020 11:59:12 -0800 Subject: [PATCH] qcacld-3.0: Add debug log when cached get station stats is returned As part of power optimization to club LL and get stats request add a debug log to indicate when cached get station stats is getting returned to user space. Change-Id: Id1f80e1589c1913d0129b435cd2bdbd807800230 CRs-Fixed: 2814701 --- core/hdd/src/wlan_hdd_stats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 8e3db3dfdfe7..015789f5b1eb 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -6433,8 +6433,10 @@ int wlan_hdd_get_station_stats(struct hdd_adapter *adapter) struct stats_event *stats; struct wlan_objmgr_vdev *vdev; - if (!get_station_fw_request_needed) + if (!get_station_fw_request_needed) { + hdd_debug("return cached get_station stats"); return 0; + } vdev = hdd_objmgr_get_vdev(adapter); if (!vdev)