OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d364c76
)
Remove the SMP Long Term Key when the device is removed
author
Vinicius Costa Gomes
<vinicius.gomes@openbossa.org>
Wed, 18 Jan 2012 23:13:32 +0000
(20:13 -0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 23 Jan 2012 11:12:31 +0000
(13:12 +0200)
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
12463cf
..
c19acd4
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-1088,6
+1088,7
@@
static void device_remove_stored(struct btd_device *device)
if (device_is_bonded(device)) {
delete_entry(&src, "linkkeys", addr);
delete_entry(&src, "aliases", addr);
+ delete_entry(&src, "longtermkeys", addr);
device_set_bonded(device, FALSE);
device->paired = FALSE;
btd_adapter_remove_bonding(device->adapter, &device->bdaddr);