summaryrefslogtreecommitdiff
path: root/cesar
diff options
context:
space:
mode:
authorNélio Laranjeiro2010-09-28 15:28:18 +0200
committerNélio Laranjeiro2010-10-21 10:18:55 +0200
commitbf46ce84593bc85e5357c4172c23c0b752612011 (patch)
treec016898c9da142a41fc728d8071eaac442a3a85e /cesar
parent35b732c2a5689d49f4cfbd79772cdf15cab160ab (diff)
cesar/cp/cl_interf: process_mme function should signal MME, closes #1921
When cl_interf process a received MME, if the mailbox is not empty it should signal it again, to allow sta core to process the next MME (as FSM does with events).
Diffstat (limited to 'cesar')
-rw-r--r--cesar/cp/cl_interf/src/cl_interf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cesar/cp/cl_interf/src/cl_interf.c b/cesar/cp/cl_interf/src/cl_interf.c
index 66264496bf..0dc376886d 100644
--- a/cesar/cp/cl_interf/src/cl_interf.c
+++ b/cesar/cp/cl_interf/src/cl_interf.c
@@ -193,8 +193,10 @@ cp_cl_interf_process_mme (cp_t *ctx)
cp_msg_dispatch (ctx, mme);
}
}
-
slab_release (msg);
+ /* If Mailbox is not empty, the receive flag should be set again. */
+ if (mbox_peek (&ctx->cl_interf.mme_rx_mbox))
+ cp_sta_core_signal_recv_mme_event (ctx);
}
/**