projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5c0c1
)
atmodem: Remove ussd atom in case we fail to init
author
Denis Kenzior
<denkenz@gmail.com>
Mon, 16 Apr 2012 18:11:37 +0000
(13:11 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 16 Apr 2012 18:15:52 +0000
(13:15 -0500)
drivers/atmodem/ussd.c
patch
|
blob
|
history
diff --git
a/drivers/atmodem/ussd.c
b/drivers/atmodem/ussd.c
index
443251a
..
2e45317
100644
(file)
--- a/
drivers/atmodem/ussd.c
+++ b/
drivers/atmodem/ussd.c
@@
-286,6
+286,7
@@
static void at_ussd_register(gboolean ok, GAtResult *result, gpointer user)
if (!ok) {
ofono_error("Could not enable CUSD notifications");
+ ofono_ussd_remove(ussd);
return;
}