summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/stemodem/gprs-context.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c
index 78547edc..0be42389 100644
--- a/drivers/stemodem/gprs-context.c
+++ b/drivers/stemodem/gprs-context.c
@@ -532,13 +532,9 @@ static void cgev_notify(GAtResult *result, gpointer user_data)
if (!g_at_result_iter_next_unquoted_string(&iter, &event))
return;
- if (g_str_has_prefix(event, "NW REACT ") ||
- g_str_has_prefix(event, "NW DEACT ") ||
- g_str_has_prefix(event, "ME DEACT ")) {
- /* Ask what primary contexts are active now */
- g_at_chat_send(gcd->chat, "AT+CGACT?", cgact_prefix,
- ste_cgact_read_cb, gc, NULL);
- }
+ /* Ask what primary contexts are active now */
+ g_at_chat_send(gcd->chat, "AT+CGACT?", cgact_prefix,
+ ste_cgact_read_cb, gc, NULL);
}
static int ste_gprs_context_probe(struct ofono_gprs_context *gc,