From 7a85191323ce0e54166072850426a2b8254e5f9f Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 22 Jun 2021 15:43:36 +0200 Subject: [PATCH] nas: call GW for all removed EPS bearers this makes sure that GW can also remove all associated TFTs --- srsue/src/stack/upper/nas.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/srsue/src/stack/upper/nas.cc b/srsue/src/stack/upper/nas.cc index 7f7b16234..7606e1343 100644 --- a/srsue/src/stack/upper/nas.cc +++ b/srsue/src/stack/upper/nas.cc @@ -167,9 +167,7 @@ void nas::clear_eps_bearer() // Deactivate EPS bearer according to Sec. 5.5.2.2.2 logger.debug("Clearing EPS bearer context"); for (const auto& bearer : eps_bearer) { - if (bearer.second.type == DEFAULT_EPS_BEARER) { - gw->deactivate_eps_bearer(bearer.second.eps_bearer_id); - } + gw->deactivate_eps_bearer(bearer.second.eps_bearer_id); } eps_bearer.clear(); }