Commit: f884c34dbb7a292791f1ad2922463e3c366865dd
Parent: 62526c7106562860c6a4d79ca67e0dfc47f2e936
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-08-19 19:47:54
Tree: ca0de0077c2f4187a16fc0208985aff09eb5edcf

android/bluetooth: Fix device found notification If device is dual mode and can be seen on both LE and BREDR, then bdaddr_type in device struct keeps LE address type of that device. During discovery, we should take current bdaddr_type to decide about passing that device up to application or not. Using dev->braddr_type might be misleading This patch fix scenario when remote device is known as LE device and recently has been found on inquiry seesion as DUAL mode device. In such case, based on braddr_type and eir flags we could incorectly skip new device notification for Android framework.

Diffstat

M android/bluetooth.c | 7 ++++- - -

1 files changed, 4 insertions(+), 3 deletions(-)

View Full Diff | Patch