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

Commit ff71dc9d authored by Pankaj Kanwar's avatar Pankaj Kanwar Committed by Android Git Automerger
Browse files

am 7773cecb: Merge "Check BR device count before initiating role switch" into mnc-dr-dev

* commit '7773cecb':
  Check BR device count before initiating role switch
parents 45f89112 7773cecb
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