From b99f81f701929b7884a86f342f805a4215298974 Mon Sep 17 00:00:00 2001 From: rmagueta Date: Mon, 19 Apr 2021 14:29:18 +0100 Subject: [PATCH] Fix nasmesh warning --- openair2/NETWORK_DRIVER/MESH/mesh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openair2/NETWORK_DRIVER/MESH/mesh.c b/openair2/NETWORK_DRIVER/MESH/mesh.c index ed87bc05f8..125832e373 100644 --- a/openair2/NETWORK_DRIVER/MESH/mesh.c +++ b/openair2/NETWORK_DRIVER/MESH/mesh.c @@ -885,9 +885,8 @@ int nas_mesh_DC_receive(struct cx_entity *cx,struct nas_priv *gpriv) else { switch (cx->state) { case NAS_CX_RELEASING_FAILURE: - cx->retry=0; - case NAS_CX_DCH: + if(cx->state==NAS_CX_RELEASING_FAILURE) cx->retry=0; nas_mesh_DC_decode_cx_loss_ind(cx,p); // process message break;