mirror of https://github.com/PentHertz/srsLTE.git
stop data plane traffic before sending detach request
This commit is contained in:
parent
10a56e2a84
commit
9b985ab6ea
|
@ -231,11 +231,16 @@ void ue::stop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ue::switch_on() {
|
bool ue::switch_on()
|
||||||
|
{
|
||||||
return stack->switch_on();
|
return stack->switch_on();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ue::switch_off() {
|
bool ue::switch_off()
|
||||||
|
{
|
||||||
|
if (gw_inst) {
|
||||||
|
gw_inst->stop();
|
||||||
|
}
|
||||||
return stack->switch_off();
|
return stack->switch_off();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue