瀏覽代碼

qcacld-3.0: Log packet length as part of page fault reason logging

Log packet length as part of page fault reason logging to know
how many bytes of data is filled by target.

Change-Id: I3426361d555ec195446348df9740900aa97b4604
CRs-Fixed: 2801605
Rajeev Kumar 4 年之前
父節點
當前提交
97a4578631
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/wma/src/wma_features.c

+ 2 - 1
core/wma/src/wma_features.c

@@ -2412,7 +2412,8 @@ static int wma_wake_event_packet(
 		 * dump event buffer which contains more info regarding
 		 * current page fault.
 		 */
-		wma_debug("PAGE_FAULT occurs during suspend:");
+		wma_debug("PAGE_FAULT occurs during suspend: packet_len %u",
+			  packet_len);
 		qdf_trace_hex_dump(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_DEBUG,
 				   packet, packet_len);
 		break;