summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gprs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 3042a5f3..bcd59fb0 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -381,7 +381,7 @@ static void pri_activate_callback(const struct ofono_error *error,
/* If we don't have the interface, don't bother emitting any settings,
* as nobody can make use of them
*/
- if (interface == NULL)
+ if (interface != NULL)
pri_update_context_settings(ctx, interface, static_ip,
ip, netmask, gateway, dns);
}