summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-10-26 16:55:03 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-10-26 16:55:03 -0500
commitbc72cca91b070f61c0cecb0090937eb758e91b24 (patch)
tree2ffa115db0e7e0a3170c867f3ff59fbeca562e65 /drivers
parente0603f0c68d133374cf0e6fb05bb3e105e5546a4 (diff)
downloadofono-bc72cca91b070f61c0cecb0090937eb758e91b24.tar.bz2
Fix: notify_attached was only used when detached
The standard only specifies that the context might have been detached by the network / mobile equipment. Not attached.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/atmodem/gprs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index 27a3f569..6f4933a7 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -200,7 +200,7 @@ static void cgev_notify(GAtResult *result, gpointer user_data)
if (g_str_has_prefix(event, "NW DETACH ") ||
g_str_has_prefix(event, "ME DETACH ")) {
- ofono_gprs_attach_notify(gprs, 0);
+ ofono_gprs_detached_notify(gprs);
return;
}
}