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

Commit 7773cecb authored by Pankaj Kanwar's avatar Pankaj Kanwar Committed by Android (Google) Code Review
Browse files

Merge "Check BR device count before initiating role switch" into mnc-dr-dev

parents 2f970b66 03cac03e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3680,7 +3680,7 @@ static void bta_dm_adjust_roles(BOOLEAN delay_role_switch)
                }

                if((bta_dm_cb.device_list.peer_device[i].pref_role == BTA_MASTER_ROLE_ONLY)
                    || (bta_dm_cb.device_list.count > 1))
                    || (br_count > 1))
                {

                /* Initiating immediate role switch with certain remote devices