From 90b7cc1e6f746d067f3c08e0ac6643ffea1f94d9 Mon Sep 17 00:00:00 2001 From: Mukul Dhiman Date: Fri, 6 Oct 2023 15:38:47 +0530 Subject: [PATCH] qcacmn: remove CONSTANT_EXPRESSION_RESULT with the constant value remove CONSTANT_EXPRESSION_RESULT with the constant value Change-Id: Iac209ffd93f415fff22383cb25863c73bd3be6a9 CRs-Fixed: 3631794 --- dp/wifi3.0/dp_peer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dp/wifi3.0/dp_peer.h b/dp/wifi3.0/dp_peer.h index b31640c879..630e8aec58 100644 --- a/dp/wifi3.0/dp_peer.h +++ b/dp/wifi3.0/dp_peer.h @@ -2447,8 +2447,8 @@ dp_peer_update_state(struct dp_soc *soc, switch (state) { case DP_PEER_STATE_INIT: DP_PEER_STATE_ASSERT - (peer, state, (peer_state != DP_PEER_STATE_ACTIVE) || - (peer_state != DP_PEER_STATE_LOGICAL_DELETE)); + (peer, state, (peer_state != DP_PEER_STATE_ACTIVE) && + (peer_state != DP_PEER_STATE_LOGICAL_DELETE)); break; case DP_PEER_STATE_ACTIVE: