OSDN Git Service

Bluetooth : GAP : Dont initiate role switch for blacklisted remotes
authorvenkata Jagadeesh <vgaraga@codeaurora.org>
Tue, 12 Jul 2016 13:48:12 +0000 (19:18 +0530)
committerLinux Build Service Account <lnxbuild@localhost>
Wed, 24 Aug 2016 14:10:04 +0000 (08:10 -0600)
Don't initiate role switch for blacklisted remotes from DUT
as some remotes always rejects role switch and role swicth retrails from
DUT may lead to a2dp glitches or random disconnections

Change-Id: If0c5212e38ab16a16b6fda35b15b160f89f7f297
CRs-Fixed: 1040611

stack/btm/btm_acl.c

index 6049a38..0e844f4 100644 (file)
@@ -69,6 +69,7 @@ static const UINT8 btm_role_switch_black_list_prefix2[][3] = {{0xfc, 0xc2, 0xde}
                                                              ,{0x00, 0x26, 0xb4} /* NAC FORD,2013 Lincoln */
                                                              ,{0x00, 0x04, 0x3e} /* OBU II Bluetooth dongle */
                                                              ,{0x00, 0x23, 0x01}  /* Roman R9020 */
+                                                             ,{0x00, 0x26, 0xb4} /* NAC FORD,2013 Lincoln */
                                                             };
 
 /*******************************************************************************