summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-18 10:33:09 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-18 10:33:09 -0600
commitec7f95de7ef1718948b6f12507e678475bd37332 (patch)
treeabe40132649eb6fe0170a44dfa1bc29894d30df3
parentacb4e127c6f7add7576c4b138c5ab835c59c2d26 (diff)
downloadofono-ec7f95de7ef1718948b6f12507e678475bd37332.tar.bz2
Fix: Again, uncross the wires
-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);
}