Przeglądaj źródła

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 lat temu
rodzic
commit
d2c91d97a2
1 zmienionych plików z 1 dodań i 1 usunięć
  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;