diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-08-11 22:06:36 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-08-14 08:49:21 +0200 |
commit | 44f1a7ab51ebe1ca189445837e0599a5edc6efb1 (patch) | |
tree | d9955a785be9fa69fa7f16c98195ff95b231c838 /net/bluetooth/smp.h | |
parent | 89d2975fa06e66ea0d3665d91f799fb1ce4b8bad (diff) | |
download | talos-op-linux-44f1a7ab51ebe1ca189445837e0599a5edc6efb1.tar.gz talos-op-linux-44f1a7ab51ebe1ca189445837e0599a5edc6efb1.zip |
Bluetooth: Use L2CAP resume callback to call smp_distribute_keys
There's no need to export the smp_distribute_keys() function since the
resume callback is called in the same scenario. This patch makes the
smp_notify_keys function private (at the same time moving it higher up
in smp.c to avoid forward declarations) and adds a resume callback for
SMP to call it from there instead.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/smp.h')
-rw-r--r-- | net/bluetooth/smp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/smp.h b/net/bluetooth/smp.h index 161ace3c3234..59a594278a85 100644 --- a/net/bluetooth/smp.h +++ b/net/bluetooth/smp.h @@ -126,7 +126,6 @@ enum { /* SMP Commands */ bool smp_sufficient_security(struct hci_conn *hcon, u8 sec_level); int smp_conn_security(struct hci_conn *hcon, __u8 sec_level); -int smp_distribute_keys(struct l2cap_conn *conn); int smp_user_confirm_reply(struct hci_conn *conn, u16 mgmt_op, __le32 passkey); void smp_chan_destroy(struct l2cap_conn *conn); |