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

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

From: Johan Hedberg <hidden>
Date: 2012-01-23 11:13:10

Hi Vinicius,

On Wed, Jan 18, 2012, Vinicius Costa Gomes wrote:
quoted hunk ↗ jump to hunk
---
 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);
This patch has also been applied, so you just need to fix and resend the
third one. Thanks.

Johan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help