소스 검색

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
Kabilan Kannan 7 년 전
부모
커밋
b4e01373c4
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      core/hdd/src/wlan_hdd_assoc.c

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