shared-qmi: Fix crash when a hotswap occurs while loading slots

This commit is contained in:
Pavan Holla
2021-03-31 15:56:44 +00:00
parent 7b141a6715
commit 250c09b73c

View File

@@ -3365,7 +3365,7 @@ check_final_slot_status (GTask *task)
"Waiting for final slot status indication..."); "Waiting for final slot status indication...");
ctx->final_slot_status_timeout_id = g_timeout_add_seconds (FINAL_SLOT_STATUS_TIMEOUT, ctx->final_slot_status_timeout_id = g_timeout_add_seconds (FINAL_SLOT_STATUS_TIMEOUT,
(GSourceFunc) hotswap_while_loading_slots, (GSourceFunc) hotswap_while_loading_slots,
self); task);
} }
} }