]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix removing any IRKs when unpairing devices
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 18 Feb 2014 15:14:35 +0000 (17:14 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Feb 2014 16:58:20 +0000 (08:58 -0800)
commitdc6d378d2727567fc32f97b8b9a387bd6cf73845
tree2a35779088a000bf99838892f1a3e592314d9428
parent16f93d91eb200bbfed6b5207e99d0c7aa5210088
Bluetooth: Fix removing any IRKs when unpairing devices

When mgmt_unpair_device is called we should also remove any associated
IRKs. This patch adds a hci_remove_irk convenience function and ensures
that it's called when mgmt_unpair_device is called.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c