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

Commit a8c67aa1 authored by howardchung's avatar howardchung Committed by Yun-hao Chung
Browse files

Floss: Fix set hh enablment config in initialization

When initailizing Floss stack, the whole hid host profile was not
enabled yet, so trying to configure underlying hidp/hogp will be
skipped by the profile_enabled_or macro.

This fixes the issue by removing the profile_enabled_or.

Bug: 275274516
Test: run bluetooth_AdapterEPHealth.ep_combo_non_hid_persists.*
Change-Id: I8f4a9ebc23d1e60c033239fabe43217720e849f7
parent 663adf8d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -356,7 +356,6 @@ impl HidHost {
    }

    /// return true if we need to restart hh
    #[profile_enabled_or(true)]
    pub fn configure_enabled_profiles(&mut self) -> bool {
        let needs_restart = self.is_profile_updated;
        if self.is_profile_updated {