From 0a5f71bca1977d5cc50282d594724918fa99e74c Mon Sep 17 00:00:00 2001 From: Chaithanya Garrepalli Date: Mon, 19 Nov 2018 18:47:39 +0530 Subject: [PATCH] qcacmn: remove the QDF_BUG in src port learn when peer found Remove the QDF_BUG in sa valid case when AST entry is not found and peer is found as this can be a valid case in DBDC repeater In DBDC repeater case we may receive the L2UF frame sent on 5G radio on 2G interface In this case SA will be valid and peer will be found for 5G VAP mac address, but ast entry will not be found in ast_table as we dont receive peer map events for STA vaps Change-Id: I22e8582605f59a8691d8fcbb43627655d1a6500c --- dp/wifi3.0/dp_rx.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dp/wifi3.0/dp_rx.h b/dp/wifi3.0/dp_rx.h index 2f8dab8fff..8db9135c6b 100644 --- a/dp/wifi3.0/dp_rx.h +++ b/dp/wifi3.0/dp_rx.h @@ -472,16 +472,14 @@ dp_rx_wds_srcport_learn(struct dp_soc *soc, dp_peer_unref_delete(wds_peer); if (!del_in_progress) { QDF_TRACE(QDF_MODULE_ID_DP, - QDF_TRACE_LEVEL_FATAL, + QDF_TRACE_LEVEL_DEBUG, "wds peer %pM found", wds_src_mac); QDF_TRACE(QDF_MODULE_ID_DP, - QDF_TRACE_LEVEL_FATAL, + QDF_TRACE_LEVEL_DEBUG, "No AST no Del in progress"); - QDF_BUG(0); - } else { - return; } + return; } ret = dp_peer_add_ast(soc, ta_peer,