Browse Source

Merge "qcacld-3.0: Fix uninitialised variable use" into wlan-cld3.driver.lnx.1.1-dev

Service qcabuildsw 9 năm trước cách đây
mục cha
commit
2a522f6a26
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 1 - 1
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -516,7 +516,7 @@ lim_send_probe_rsp_mgmt_frame(tpAniSirGlobal mac_ctx,
 	uint32_t cfg, payload, bytes, status;
 	tpSirMacMgmtHdr mac_hdr;
 	uint8_t *frame;
-	void *packet;
+	void *packet = NULL;
 	QDF_STATUS qdf_status;
 	uint32_t addn_ie_present = false;