]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Make SMP context private to smp.c
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 20 May 2014 06:45:47 +0000 (09:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 May 2014 15:44:11 +0000 (08:44 -0700)
commitc2507c4425d24a2a7944bc0c915c579187e7d58d
tree50369b94e3cd3d4b4707eea168447f5bca6d681b
parentcd4f0d39b2308086ea6ce7c844219bcedd314c1a
Bluetooth: Make SMP context private to smp.c

There are no users of the smp_chan struct outside of smp.c so move it
away from smp.h. The addition of the l2cap.h include to hci_core.c,
hci_conn.c and mgmt.c is something that should have been there already
previously to avoid warnings of undeclared struct l2cap_conn, but the
compiler warning was apparently shadowed away by the mention of
l2cap_conn in the struct smp_chan definition.

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