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
This commit is contained in:
Sandeep Puligilla 2017-10-18 16:31:12 -07:00 • committed by snandini
commit d2c91d97a2

View file

@ -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;