From 7123a69f7202585436aa0f98cd430d2230ae06a9 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Thu, 16 May 2019 12:53:11 +0530 Subject: [PATCH] qcacld-3.0: Remove redundant error message Remove redundant error message while processing beacon. Change-Id: Icd29c8973beb363bd38d311f27293575fb169421 CRs-Fixed: 2453864 --- core/mac/src/pe/sch/sch_beacon_process.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index 5c74f5b3c640..02abe9bafd58 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -1101,15 +1101,11 @@ void sch_send_beacon_report(struct mac_context *mac_ctx, { struct wlan_beacon_report beacon_report; - if (!mac_ctx->lim.sme_bcn_rcv_callback) { - pe_err("sme_bcn_rcv_callback is NULL"); + if (!mac_ctx->lim.sme_bcn_rcv_callback) return; - } - if (!LIM_IS_STA_ROLE(session)) { - pe_err("Session is not for STA"); + if (!LIM_IS_STA_ROLE(session)) return; - } if (sir_compare_mac_addr(session->bssId, beacon_struct->bssid)) { /* Prepare beacon report from incoming beacon */