Ver código fonte

qcacmn: Fix uninitialized scalar variable issue

Fix uninitialized scalar variable issue

Change-Id: I96163a9163fd4b25a3ce534915353675f582f0c9
CRs-Fixed: 3297589
Amit Mehta 2 anos atrás
pai
commit
499b2deb3b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dp/wifi3.0/dp_internal.h

+ 1 - 1
dp/wifi3.0/dp_internal.h

@@ -2751,7 +2751,7 @@ dp_hif_update_pipe_callback(struct dp_soc *dp_soc,
 			    QDF_STATUS (*callback)(void *, qdf_nbuf_t, uint8_t),
 			    uint8_t pipe_id)
 {
-	struct hif_msg_callbacks hif_pipe_callbacks;
+	struct hif_msg_callbacks hif_pipe_callbacks = { 0 };
 
 	/* TODO: Temporary change to bypass HTC connection for this new
 	 * HIF pipe, which will be used for packet log and other high-