mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-02 10:20:12 +00:00
logitech_hidpp: use the correct timeout for IO channel writes
This commit is contained in:
parent
1eb7c7443e
commit
2d172534a8
@ -76,7 +76,7 @@ fu_logitech_hidpp_send (FuIOChannel *io_channel,
|
||||
}
|
||||
|
||||
/* HID */
|
||||
if (!fu_io_channel_write_raw (io_channel, (guint8 *) msg, len, 1500,
|
||||
if (!fu_io_channel_write_raw (io_channel, (guint8 *) msg, len, timeout,
|
||||
FU_IO_CHANNEL_FLAG_FLUSH_INPUT |
|
||||
FU_IO_CHANNEL_FLAG_USE_BLOCKING_IO, error)) {
|
||||
g_prefix_error (error, "failed to send: ");
|
||||
|
Loading…
Reference in New Issue
Block a user