Commit: 4920323c7790ad66206c2b5de33e365754d07ce7
Parent: f2c61eb4ff299cf1716fc81098433e5060cdf150
Author: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-08-23 14:58:02
Tree: ad48a8b78826f922b39bf1d16ab9f93d07a3febe

Fix remove temporary link key for No Bonding This fixes regression caused by 33cdfcb0fabcfb5260953a13ae277b5abe9a322d. Temporary link key should be removed after device is disconnected if bonding information is not stored in file system. Currently, the key is deleted only when paired device is removed, or adapter is powered off. In case of No Bonding authentication, device is not paired after disconnection, which results in link key left in memory. On the other hand, device is not necessarily removed after disconnection that also leaves unneeded temporary link key in memory. Therefore, btd_adapter_remove_bonding is moved to device_set_paired(device, FALSE) covering both cases.

Diffstat

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

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

View Full Diff | Patch