ソースを参照

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
Rajeev Kumar 4 年 前
コミット
a515c97cf3
1 ファイル変更3 行追加1 行削除
  1. 3 1
      core/hdd/src/wlan_hdd_stats.c

+ 3 - 1
core/hdd/src/wlan_hdd_stats.c

@@ -6444,8 +6444,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)