Browse Source

qcacld-3.0: initialize peer hang_data in recovery_notifier_cb

Initialize peer_hang_data in  ol_peer_recovery_notifier_cb.

Change-Id: I04d819ba9048b1877dadd4d0678424f2e6fa5b1a
CRs-Fixed: 2719727
Vevek Venkatesan 4 years ago
parent
commit
e28544d9ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/dp/txrx/ol_txrx.c

+ 1 - 1
core/dp/txrx/ol_txrx.c

@@ -126,7 +126,7 @@ int ol_peer_recovery_notifier_cb(struct notifier_block *block,
 	struct qdf_notifer_data *notif_data = data;
 	qdf_notif_block *notif_block;
 	struct ol_txrx_peer_t *peer;
-	struct peer_hang_data hang_data;
+	struct peer_hang_data hang_data = {0};
 	enum peer_debug_id_type dbg_id;
 
 	if (!data || !block)