Commit: 3a9d75a8a15090a8f718f56c5f6f3f15407d1582
Parent: 2b680f5a8493ef8af600d621537ea835aafa73ea
Author: Arman Uguray <armansito@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2015-01-15 22:10:37
Tree: 0207051f28d7c9efdb4853edfd7cffd8a6544dad

core: device: Fix device_browse_gatt This patch fixes an issue that occurs in device.c:device_browse_gatt when an ATT data connection already exists. This patch solves the following problems: 1. In the case when services are already discovered, the old code re-probed all profiles which caused crashes. 2. In the case when services are already discovered, the old code never actually resolved the browse request when initiated from an outgoing bonding request. This caused, for example, a D-Bus call to Pair to receive no response.

Diffstat

M src/device.c | 39 ++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 16 insertions(+), 23 deletions(-)

View Full Diff | Patch