mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 19:08:34 +00:00
thunderbolt: Increase retry timeout from 20 to 200 ms
At least with Titan Ridge devices 50 * 20 ms is way too short time reading nvm_version so most of the time the daemon fails to figure out the version of the just connected device. To make it work better with Titan Ridge devices increase the timeout to 50 * 200 ms. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
b9ac0aa179
commit
dd7e7d97e8
@ -31,7 +31,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevDevice, g_object_unref)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#define TBT_NVM_RETRY_TIMEOUT 20 /* ms */
|
||||
#define TBT_NVM_RETRY_TIMEOUT 200 /* ms */
|
||||
|
||||
typedef void (*UEventNotify) (FuPlugin *plugin,
|
||||
GUdevDevice *udevice,
|
||||
|
Loading…
Reference in New Issue
Block a user