qcacld-3.0: Optimize schedule msg post error logging

Change-Id: Ieaddca5f141c99c42ed4a7c954dea2788e353640
CRs-Fixed: 2373015
This commit is contained in:
Madhvapathi Sriram
2018-12-19 12:54:49 +05:30
committed by nshrivas
parent 474e231b14
commit 3e6627a9f9
24 changed files with 42 additions and 199 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -316,10 +316,8 @@ static QDF_STATUS tdls_activate_send_mgmt_request(
status = scheduler_post_message(QDF_MODULE_ID_TDLS,
QDF_MODULE_ID_TDLS,
QDF_MODULE_ID_PE, &msg);
if (QDF_IS_STATUS_ERROR(status)) {
tdls_err("failed to post msg, status %d", status);
if (QDF_IS_STATUS_ERROR(status))
qdf_mem_free(tdls_mgmt_req);
}
wlan_objmgr_peer_release_ref(peer, WLAN_TDLS_SB_ID);