From b4e01373c4341851fa551b6c302c88170fe6efe3 Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Mon, 15 Jan 2018 13:33:10 -0800 Subject: [PATCH] qcacld-3.0: Remove the incorrect log in TDLS peer delete TDLS peer data structures can be cleared in WMA/WMI peer deletion operation. So the TDLS peer may not be available, when HDD tries to deregister TDLS station, and it is not an error condition. Remove the error log in TDLS sta deregister function. Change-Id: I72ebe12749eab2fe50011cf03b5cbad5dd1d9381 CRs-Fixed: 2171335 --- core/hdd/src/wlan_hdd_assoc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index bf8232761d36..5c68c52052ee 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -3853,10 +3853,7 @@ QDF_STATUS hdd_roam_deregister_tdlssta(struct hdd_adapter *adapter, qdf_status = cdp_clear_peer(cds_get_context(QDF_MODULE_ID_SOC), (struct cdp_pdev *)cds_get_context(QDF_MODULE_ID_TXRX), staId); - if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { - hdd_err("cdp_clear_peer() failed for staID: %d Status: %d [0x%08X]", - staId, qdf_status, qdf_status); - } + return qdf_status; }