From 9a79ef0e1081fc347337fa03534ff4b4687a9631 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Mon, 19 Apr 2021 16:35:08 +0200 Subject: [PATCH] Revert "Fix nasmesh warning" This reverts commit b99f81f701929b7884a86f342f805a4215298974 --- openair2/NETWORK_DRIVER/MESH/mesh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair2/NETWORK_DRIVER/MESH/mesh.c b/openair2/NETWORK_DRIVER/MESH/mesh.c index 125832e373..ed87bc05f8 100644 --- a/openair2/NETWORK_DRIVER/MESH/mesh.c +++ b/openair2/NETWORK_DRIVER/MESH/mesh.c @@ -885,8 +885,9 @@ 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;