qcacmn: Properly initialize pkt ptr record
Initialize packet pointer record is_free_pkt_ptr_record to false.
The code flow may not assign the pointer before usage.
Change-Id: I00a4dc0eaf7e426ce48ec746eba975b74d1fec34
CRs-Fixed: 2313459
diff --git a/qdf/linux/src/qdf_trace.c b/qdf/linux/src/qdf_trace.c
index ef42a83..b74e91f 100644
--- a/qdf/linux/src/qdf_trace.c
+++ b/qdf/linux/src/qdf_trace.c
@@ -1982,7 +1982,7 @@
char prepend_str[QDF_DP_TRACE_PREPEND_STR_SIZE];
struct qdf_dp_trace_ptr_buf *buf =
(struct qdf_dp_trace_ptr_buf *)record->data;
- bool is_free_pkt_ptr_record;
+ bool is_free_pkt_ptr_record = false;
if ((record->code == QDF_DP_TRACE_FREE_PACKET_PTR_RECORD) ||
(record->code == QDF_DP_TRACE_LI_DP_FREE_PACKET_PTR_RECORD))