nas: log switch on/off in info mode

master
Andre Puschmann 4 years ago
parent ec14a6e50b
commit 5ec78be872

@ -262,23 +262,27 @@ bool nas::is_registered()
******************************************************************************/ ******************************************************************************/
bool nas::switch_on() bool nas::switch_on()
{ {
logger.info("Switching on");
state.set_deregistered(emm_state_t::deregistered_substate_t::plmn_search); state.set_deregistered(emm_state_t::deregistered_substate_t::plmn_search);
return true; return true;
} }
bool nas::switch_off() bool nas::switch_off()
{ {
logger.info("Switching off");
detach_request(true); detach_request(true);
return true; return true;
} }
bool nas::enable_data() bool nas::enable_data()
{ {
logger.info("Enabling data services");
return switch_on(); return switch_on();
} }
bool nas::disable_data() bool nas::disable_data()
{ {
logger.info("Disabling data services");
detach_request(false); detach_request(false);
return true; return true;
} }

Loading…
Cancel
Save