broadband-modem-mbim: fix crash on register indication parsing failure

Found during code review.
This commit is contained in:
Aleksander Morgado
2022-08-19 17:52:29 +00:00
parent 129807c417
commit 90fb43ff9e

View File

@@ -4562,7 +4562,7 @@ basic_connect_notification_register_state (MMBroadbandModemMbim *self,
&provider_name,
NULL, /* roaming_text */
NULL, /* registration_flag */
NULL)) {
&error)) {
mm_obj_warn (self, "failed processing register state indication: %s", error->message);
return;
}