Thread (15 messages) 15 messages, 3 authors, 2012-01-24
STALE5294d

[PATCH BlueZ v2 4/4] Remove the SMP Long Term Key when the device is removed

From: Vinicius Costa Gomes <hidden>
Date: 2012-01-18 23:13:32
Subsystem: the rest · Maintainer: Linus Torvalds

---
 src/device.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/device.c b/src/device.c
index 16855b1..8d02c2c 100644
--- 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);
-- 
1.7.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help