From b40aeead188ce30755de2128a537c9e9c75bfe24 Mon Sep 17 00:00:00 2001
From: zhenghuangkun <zhenghuangkun@cn.fujitsu.com>
Date: Mon, 11 May 2020 11:38:11 +0900
Subject: [PATCH] Fix HO RRCreconfig message not send for crnti and HO conflict

(cherry picked from commit 5b02ce3d1bf858dbe13aa17c010f9f9d81252ae7)

# Conflicts:
#	openair2/RRC/LTE/rrc_eNB.c
---
 openair2/RRC/LTE/rrc_eNB.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openair2/RRC/LTE/rrc_eNB.c b/openair2/RRC/LTE/rrc_eNB.c
index 94d161ae38..c6b87f7dbb 100644
--- a/openair2/RRC/LTE/rrc_eNB.c
+++ b/openair2/RRC/LTE/rrc_eNB.c
@@ -5093,8 +5093,7 @@ check_handovers(
     if(ue_context_p->ue_context.handover_info != NULL) {
       pthread_mutex_lock(&ue_context_p->ue_context.handover_cond_lock);
 
-      if (ue_context_p->ue_context.Status == RRC_HO_EXECUTION &&
-          ue_context_p->ue_context.handover_info != NULL) {
+      if (ue_context_p->ue_context.handover_info != NULL) {
         
       /* in the source, UE in HO_PREPARE mode */
       if (ue_context_p->ue_context.handover_info->state == HO_PREPARE) {
-- 
2.26.2