Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f12a801 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Floss: Increase the manager timeout to 15 seconds" into main

parents 37f8d54e ef6c5b55
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -174,8 +174,9 @@ pub struct StateMachineProxy {
const TX_SEND_TIMEOUT_DURATION: Duration = Duration::from_secs(3);

/// Duration to use for timeouts when starting/stopping adapters.
/// Some adapters take a while to load firmware so use a sufficiently long timeout here.
const COMMAND_TIMEOUT_DURATION: Duration = Duration::from_secs(7);
/// GD start timeout is set for 12 seconds. This timeout needs to be longer than that otherwise
/// Floss could crash.
const COMMAND_TIMEOUT_DURATION: Duration = Duration::from_secs(15);

impl StateMachineProxy {
    pub fn start_bluetooth(&self, hci: VirtualHciIndex) {