diff --git a/drivers/speedupmodem/ussd.c b/drivers/speedupmodem/ussd.c index 02d3487c..29be5774 100644 --- a/drivers/speedupmodem/ussd.c +++ b/drivers/speedupmodem/ussd.c @@ -166,6 +166,7 @@ static void cusd_register(gboolean ok, GAtResult *result, gpointer user_data) if (!ok) { ofono_error("Could not enable CUSD notifications"); + ofono_ussd_remove(ussd); return; }