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

Commit bff282cb authored by Ying Hsu's avatar Ying Hsu Committed by Gerrit Code Review
Browse files

Merge "floss: Fix discovery resume issue"

parents ddcb25ba bb77d983
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1024,11 +1024,11 @@ impl Bluetooth {
    /// Remove the paused flag to allow clients to begin discovery, and if there is already a
    /// pending request, start discovery.
    fn resume_discovery(&mut self) {
        self.is_discovery_paused = false;
        if self.pending_discovery {
            self.pending_discovery = false;
            self.start_discovery();
        }
        self.is_discovery_paused = false;
    }
}