We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f24c04 commit 0604c49Copy full SHA for 0604c49
connectivity/cellular/source/framework/AT/AT_CellularContext.cpp
@@ -756,11 +756,11 @@ void AT_CellularContext::check_and_deactivate_context()
756
rat = reg_params._act;
757
// 3GPP TS 27.007:
758
// For EPS, if an attempt is made to disconnect the last PDN connection, then the MT responds with ERROR
759
- if (_is_context_active && (rat < CellularNetwork::RAT_E_UTRAN || active_contexts_count > 1)) {
+ if (_is_context_active && (rat < CellularNetwork::RAT_E_UTRAN || rat == CellularNetwork::RAT_NB1 || active_contexts_count > 1)) {
760
_at.clear_error();
761
- }
762
763
- deactivate_context();
+ deactivate_context();
+ }
764
765
if (_new_context_set) {
766
delete_current_context();
0 commit comments