Unpair both transports of dual mode device, when LE address provided
In bta_dm_remove_device, if the device is not connected, and we don't know the transport for given address, we make two calls to BTM_ReadConnectedTransportAddress, to determine the device address on the other transport. If the address provided is LE, first call will fill the other_address variable with the Classic address, and the second call will fill it back with LE addres. This mean we never try to remove Classic entry, instead we remove LE entry twice. Bug: 67907612 Test: establish LE connnection between two phones, trigger Bonding. After bonding complete, try to remove bond using LE address. Verify config file is cleaned of both LE and classic entry. Change-Id: Ia5dd53f96b95478a07009cecc5b4a3c79f15c59b
Loading
Please register or sign in to comment