mirror of
https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti
synced 2025-11-03 20:45:53 +08:00
ims: Return error on error not if enabled or not
This commit is contained in:
@@ -262,7 +262,7 @@ qti_ims_set_registration(
|
||||
qti_ims_result_request_destroy, req);
|
||||
|
||||
DBG("%s %s", self->slot, enabled ? "on" : "off");
|
||||
if (enabled) {
|
||||
if (id) {
|
||||
return id;
|
||||
} else {
|
||||
qti_ims_result_request_free(req);
|
||||
|
||||
Reference in New Issue
Block a user