瀏覽代碼

qcacmn: Initialize the mgmt tx params

Triggering crash at firmware due to
uninitialized value sent to firmware
as part of wmi_mgmt_params.

Initialize the management tx params
at p2p_mgmt_tx before populate.

Change-Id: Iea77266ee11f5742ea6a0074e4a6612452a764b1
CRs-Fixed: 2128419
Sandeep Puligilla 7 年之前
父節點
當前提交
d2c91d97a2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      umac/p2p/core/src/wlan_p2p_off_chan_tx.c

+ 1 - 1
umac/p2p/core/src/wlan_p2p_off_chan_tx.c

@@ -877,7 +877,7 @@ static QDF_STATUS p2p_mgmt_tx(struct tx_action_context *tx_ctx,
 	mgmt_ota_comp_cb tx_ota_comp_cb;
 	struct wlan_frame_hdr *wh;
 	struct wlan_objmgr_peer *peer;
-	struct wmi_mgmt_params mgmt_param;
+	struct wmi_mgmt_params mgmt_param = { 0 };
 	struct wlan_objmgr_psoc *psoc;
 	void *mac_addr;