OSDN Git Service

core: Ignore ATT errors when considering Pair() success
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 14:08:36 +0000 (16:08 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 20 Mar 2014 14:14:17 +0000 (16:14 +0200)
commit274e37d677023c9526cb08f74c0909de718e36c5
tree54170a038664587fa0d2d6eb625cb43019221236
parent48231ada62027b6419ade4a103887a58af4e3f8e
core: Ignore ATT errors when considering Pair() success

Occasionally there may be errors in completing the service discovery
process over ATT when pairing with an LE device. Since we will any way
pick up from where we left off the next time we get connected it should
be safe to return success for the Pair() method call as long as the
actual pairing part was successful.
src/device.c