瀏覽代碼

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
Abhishek Singh 6 年之前
父節點
當前提交
b2405ece84
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      wmi/src/wmi_unified_sta_tlv.c

+ 1 - 0
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;
 }