qcacld-3.0: Ignore HTT_T2H_MSG_TYPE_MGMT_TX_COMPL_IND from FW

Ignore HTT_T2H_MSG_TYPE_MGMT_TX_COMPL_IND from firmware if
management over WMI is enabled.

Change-Id: Ic196d17526c251ae26dd59ca2f42b7bff9a46ffe
CRs-Fixed: 949946
This commit is contained in:
Nirav Shah 2015-12-10 15:42:17 +05:30 • committed by Satish Singh
commit f2e3637e64

View file

@ -283,10 +283,14 @@ void htt_t2h_lp_msg_handler(void *context, cdf_nbuf_t htt_t2h_msg)
compl_msg =
(struct htt_mgmt_tx_compl_ind *)(msg_word + 1);
ol_tx_single_completion_handler(pdev->txrx_pdev,
compl_msg->status,
compl_msg->desc_id);
HTT_TX_SCHED(pdev);
if (!ol_tx_get_is_mgmt_over_wmi_enabled()) {
ol_tx_single_completion_handler(pdev->txrx_pdev,
compl_msg->status,
compl_msg->desc_id);
HTT_TX_SCHED(pdev);
} else {
cdf_print("Ignoring HTT_T2H_MSG_TYPE_MGMT_TX_COMPL_IND indication\n");
}
break;
}
case HTT_T2H_MSG_TYPE_STATS_CONF: