broadband-modem-qmi/cellbroadcast: Return on failure
Return after setting the error
Fixes: e25dd7db9 ("broadband-modem-qmi: Add support for loading channels")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
@@ -11263,6 +11263,7 @@ cell_broadcast_get_broadcast_config_ready (QmiClientWms *client,
|
||||
g_error_new (MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
|
||||
"Couldn't parse channel interval '%d-%d'", elem.start, elem.end);
|
||||
g_task_return_error (task, error);
|
||||
return;
|
||||
}
|
||||
|
||||
ch.start = elem.start;
|
||||
|
||||
Reference in New Issue
Block a user