From 76de8a633a029b0c58574fe74838184f39c0ba59 Mon Sep 17 00:00:00 2001 From: navid <navid@mycompany.com> Date: Tue, 21 Jul 2015 10:22:04 +0000 Subject: [PATCH] Fix the MME crashes with Illegal instruction in nas_timer (contributed by D. Rupprecht) git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7717 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair-cn/NAS/COMMON/UTIL/nas_timer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair-cn/NAS/COMMON/UTIL/nas_timer.c b/openair-cn/NAS/COMMON/UTIL/nas_timer.c index f1da2d0d6c..d7c1eb9f0e 100644 --- a/openair-cn/NAS/COMMON/UTIL/nas_timer.c +++ b/openair-cn/NAS/COMMON/UTIL/nas_timer.c @@ -543,7 +543,8 @@ static nas_timer_entry_t *_nas_timer_db_create_entry( if (te != NULL) { te->itv.tv_sec = sec; te->itv.tv_usec = 0; - te->tv = te->itv; + te->tv.tv_sec = te->itv.tv_sec; + te->tv.tv_usec = te->itv.tv_usec; te->cb = cb; te->args = args; } -- GitLab