Return-Path: From: Vinicius Costa Gomes To: linux-bluetooth@vger.kernel.org Cc: Vinicius Costa Gomes Subject: [PATCH BlueZ 09/12] Remove the SMP Long Term Key when the device is removed Date: Fri, 19 Aug 2011 21:12:05 -0300 Message-Id: <1313799128-8842-10-git-send-email-vinicius.gomes@openbossa.org> In-Reply-To: <1313799128-8842-1-git-send-email-vinicius.gomes@openbossa.org> References: <1313799128-8842-1-git-send-email-vinicius.gomes@openbossa.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: --- src/device.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/device.c b/src/device.c index 9dd657c..1a333de 100644 --- a/src/device.c +++ b/src/device.c @@ -991,6 +991,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_set_paired(device, FALSE); btd_adapter_remove_bonding(device->adapter, &device->bdaddr); -- 1.7.6