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
This commit is contained in:
Ananya Gupta 2020-05-07 15:48:15 +05:30 committed by nshrivas
parent 6dff8e348e
commit 16c13ea0b8

View File

@ -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));