mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 04:23:33 +00:00
trivial: don't replug if thunderbolt device supports auth on disconnect
Fixes: #4262
This commit is contained in:
parent
b4fb6fa6aa
commit
f7b6fa2e82
@ -310,7 +310,8 @@ fu_thunderbolt_controller_write_firmware(FuDevice *device,
|
||||
if (!FU_DEVICE_CLASS(fu_thunderbolt_controller_parent_class)
|
||||
->write_firmware(device, firmware, progress, flags, error))
|
||||
return FALSE;
|
||||
fu_device_add_flag(device, FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG);
|
||||
if (!fu_device_has_flag(device, FWUPD_DEVICE_FLAG_USABLE_DURING_UPDATE))
|
||||
fu_device_add_flag(device, FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user