Bluetooth: Move SMP (de)initialization to smp.c
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Aug 2014 06:32:52 +0000 (09:32 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 Aug 2014 06:49:18 +0000 (08:49 +0200)
commit711eafe345d993cf4831e890fa989d02c06cad62
tree6a944b71657ef48d8df93441578ca4b2c90e71fd
parent54506918059a5bdbf396f34f2e0a2735803024db
Bluetooth: Move SMP (de)initialization to smp.c

As preparation for moving SMP to use l2cap_chan infrastructure we need
to move the (de)initialization functions to smp.c (where they'll
eventually need access to the local L2CAP channel callbacks).

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