Merge "qca-wifi: Handle Packet log disable WMI command fail"
diff --git a/wmi/src/wmi_unified_non_tlv.c b/wmi/src/wmi_unified_non_tlv.c
index e3d5f2b..d85ac8d 100644
--- a/wmi/src/wmi_unified_non_tlv.c
+++ b/wmi/src/wmi_unified_non_tlv.c
@@ -3425,7 +3425,7 @@
WMI_LOGE("%s:wmi_buf_alloc failed", __func__);
return QDF_STATUS_E_FAILURE;
}
- if (!wmi_unified_cmd_send(wmi_handle, buf, len,
+ if (wmi_unified_cmd_send(wmi_handle, buf, len,
WMI_PDEV_PKTLOG_DISABLE_CMDID)) {
wmi_buf_free(buf);
return QDF_STATUS_E_FAILURE;