summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-11-18 10:00:04 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-11-18 10:00:04 -0600
commitacb4e127c6f7add7576c4b138c5ab835c59c2d26 (patch)
tree96b9028a9ad0d0b796650e940a0601856fad1d86
parent911b78594e1b913eaa2d61b8313083d79539adce (diff)
downloadofono-acb4e127c6f7add7576c4b138c5ab835c59c2d26.tar.bz2
Fix: Uncross the wires
-rw-r--r--src/gprs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 79610290..3042a5f3 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -368,7 +368,7 @@ static void pri_activate_callback(const struct ofono_error *error,
return;
}
- ctx->active = FALSE;
+ ctx->active = TRUE;
__ofono_dbus_pending_reply(&gc->pending,
dbus_message_new_method_return(gc->pending));
@@ -401,7 +401,7 @@ static void pri_deactivate_callback(const struct ofono_error *error, void *data)
return;
}
- ctx->active = TRUE;
+ ctx->active = FALSE;
__ofono_dbus_pending_reply(&gc->pending,
dbus_message_new_method_return(gc->pending));