From 16c13ea0b8578e0a7d8faf91d8bab88b16733d57 Mon Sep 17 00:00:00 2001 From: Ananya Gupta Date: Thu, 7 May 2020 15:48:15 +0530 Subject: [PATCH] qcacld-3.0: Initialize peer_timer_bitmask peer_timer_bitmask of hang_data was uninitialized which may contain a garbage value. Initialized the variable with 0. Change-Id: I5875bb0d121bcbf14a2afc9efec6697cf4b4dba4 CRs-Fixed: 2680955 --- core/dp/txrx/ol_txrx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 52978277c0..bc292d9411 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -3365,6 +3365,7 @@ int ol_peer_recovery_notifier_cb(struct notifier_block *block, if (!peer) return -EINVAL; + hang_data.peer_timeout_bitmask = 0; QDF_HANG_EVT_SET_HDR(&hang_data.tlv_header, HANG_EVT_TAG_DP_PEER_INFO, QDF_HANG_GET_STRUCT_TLVLEN(struct peer_hang_data));