rrc.connected() return true during HO

This commit is contained in:
Ismael Gomez 2018-03-15 11:41:49 +01:00
parent df0dcb27e7
commit e845339d54
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ void ue::stop()
bool ue::is_attached()
{
return (RRC_STATE_CONNECTED == rrc.get_state());
return rrc.is_connected();
}
void ue::start_plot() {

View File

@ -156,7 +156,7 @@ rrc_state_t rrc::get_state() {
}
bool rrc::is_connected() {
return (RRC_STATE_CONNECTED == state);
return (RRC_STATE_CONNECTED >= state && state < RRC_STATE_LEAVE_CONNECTED);
}
bool rrc::have_drb() {