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

Commit e7c904cf authored by Whale Chang's avatar Whale Chang Committed by Gerrit Code Review
Browse files

Merge "Floss: Remove unnecessary check in HFP Hangup callback" into main

parents dfbf5260 733ee01c
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -1025,15 +1025,6 @@ impl BluetoothMedia {
                    warn!("Unexpected hangup call. phone_ops_enabled and mps_qualification_enabled does not enabled.");
                    warn!("Unexpected hangup call. phone_ops_enabled and mps_qualification_enabled does not enabled.");
                    return;
                    return;
                }
                }
                if self.should_insert_call_when_sco_start(addr) {
                    // The devices requiring a +CIEV event are not managed through the telephony commands.
                    // This allows to prevent to stop the SCO link as there is no command to set it up again.
                    debug!(
                        "[{}]: AT+CHUP skipped due to interop workaround",
                        DisplayAddress(&addr)
                    );
                    return;
                }
                if self.mps_qualification_enabled {
                if self.mps_qualification_enabled {
                    // In qualification mode we expect no application to interact with.
                    // In qualification mode we expect no application to interact with.
                    // So we just jump right in to the telephony ops implementation.
                    // So we just jump right in to the telephony ops implementation.