summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem/ussd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atmodem/ussd.c')
-rw-r--r--drivers/atmodem/ussd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atmodem/ussd.c b/drivers/atmodem/ussd.c
index 443251aa..2e45317d 100644
--- 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;
}