qcacmn: Return failure if sending WMI_PDEV_SET_MAC_CONFIG_CMDID fail

Function send_pdev_set_dual_mac_config_cmd_tlv return success even
if it fails to send WMI_PDEV_SET_MAC_CONFIG_CMDID. Thus the
e_sme_command_set_dual_mac_config cmd stuck in active queue leading
to active command timeout.

Return failure if WMI_PDEV_SET_MAC_CONFIG_CMDID fails.

Change-Id: I9593c7369a4e152c8c233e60216ecd7fc301b944
CRs-Fixed: 2362270
This commit is contained in:
Abhishek Singh
2018-12-06 14:07:41 +05:30
committed by nshrivas
parent de218d60aa
commit b2405ece84

View File

@@ -2180,6 +2180,7 @@ QDF_STATUS send_pdev_set_dual_mac_config_cmd_tlv(wmi_unified_t wmi_handle,
WMI_LOGE("%s: Failed to send WMI_PDEV_SET_MAC_CONFIG_CMDID", WMI_LOGE("%s: Failed to send WMI_PDEV_SET_MAC_CONFIG_CMDID",
__func__); __func__);
wmi_buf_free(buf); wmi_buf_free(buf);
return QDF_STATUS_E_FAILURE;
} }
return QDF_STATUS_SUCCESS; return QDF_STATUS_SUCCESS;
} }