From b2405ece84ffe82eaa4accbca1dde636230fdd2b Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 6 Dec 2018 14:07:41 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_sta_tlv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wmi/src/wmi_unified_sta_tlv.c b/wmi/src/wmi_unified_sta_tlv.c index cbe7926b78..cfb131d183 100644 --- a/wmi/src/wmi_unified_sta_tlv.c +++ b/wmi/src/wmi_unified_sta_tlv.c @@ -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", __func__); wmi_buf_free(buf); + return QDF_STATUS_E_FAILURE; } return QDF_STATUS_SUCCESS; }