mirror of git://git.sysmocom.de/ofono
speedup: Remove ussd atom in case we fail to init
This commit is contained in:
parent
77de440f28
commit
8227642757
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue