From d2c91d97a2feab5f111b2061409dd40274e2ddc9 Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Wed, 18 Oct 2017 16:31:12 -0700 Subject: [PATCH] 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 --- umac/p2p/core/src/wlan_p2p_off_chan_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/p2p/core/src/wlan_p2p_off_chan_tx.c b/umac/p2p/core/src/wlan_p2p_off_chan_tx.c index 7b7c3c50ef18..fb6b71ed35e6 100644 --- a/umac/p2p/core/src/wlan_p2p_off_chan_tx.c +++ b/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;