qcacmn: Remove the CONFIG_MCL for rx_reorder_queue_remove_cmd

On MCL side, crash_on_send_peer_rx_reorder_queue_remove_cmd
causes a crash if command is sent by host. Currently no one
is using this API from MCL side and for non MCL this is No-OP.

Removing this API and CONFIG_MCL as from MCL side no one is
calling this.

Change-Id: I5393074913ccd6b39ca2e31e081783c4b614bd43
CRs-Fixed: 2490819
This commit is contained in:
Alok Kumar
2019-07-17 17:27:57 +05:30
zatwierdzone przez nshrivas
rodzic bde1772622
commit 3558ddfc61

Wyświetl plik

@@ -1160,28 +1160,6 @@ static QDF_STATUS send_peer_delete_all_cmd_tlv(
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
} }
/**
* crash_on_send_peer_rx_reorder_queue_remove_cmd() - crash on reorder queue cmd
*
* On MCL side, we are suspecting this cmd to trigger drop of ARP
* response frames from REO by the FW. This function causes a crash if this
* command is sent out by the host, so we can track this issue. Ideally no one
* should be calling this API from the MCL side
*
* Return: None
*/
#ifdef CONFIG_MCL
static void crash_on_send_peer_rx_reorder_queue_remove_cmd(void)
{
QDF_BUG(0);
}
#else
static void crash_on_send_peer_rx_reorder_queue_remove_cmd(void)
{
/* No-OP */
}
#endif
/** /**
* convert_host_peer_param_id_to_target_id_tlv - convert host peer param_id * convert_host_peer_param_id_to_target_id_tlv - convert host peer param_id
* to target id. * to target id.
@@ -1403,8 +1381,6 @@ QDF_STATUS send_peer_rx_reorder_queue_remove_cmd_tlv(wmi_unified_t wmi,
wmi_buf_t buf; wmi_buf_t buf;
int32_t len = sizeof(*cmd); int32_t len = sizeof(*cmd);
crash_on_send_peer_rx_reorder_queue_remove_cmd();
buf = wmi_buf_alloc(wmi, len); buf = wmi_buf_alloc(wmi, len);
if (!buf) if (!buf)
return QDF_STATUS_E_NOMEM; return QDF_STATUS_E_NOMEM;