mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-12 12:48:10 +00:00
modem-manager: Fix the report that failed to get device after update
Module may not have been re-probed and exposed in MM when the FW version was successfully obtained, which leads to the report that failed to get device after update. In fact, FW has been uodated successfully, it needs to add 150s to wait for the module to be re-probed and exposed in MM. Signed-off-by: Jarvis Jiang <jarvis.w.jiang@gmail.com>
This commit is contained in:
parent
09770c60f0
commit
cc388dba5a
@ -1109,6 +1109,8 @@ fu_mm_device_write_firmware_mbim_qdu (FuDevice *device, GBytes *fw, GError **err
|
||||
return FALSE;
|
||||
|
||||
fu_device_set_status (device, FWUPD_STATUS_DEVICE_READ);
|
||||
fu_device_set_remove_delay(device, MAX_WAIT_TIME_SECS * 1000);
|
||||
fu_device_add_flag(device, FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG);
|
||||
version = fu_mm_device_get_firmware_version_mbim (device, error);
|
||||
if (version == NULL)
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user