diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-05-20 06:45:47 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-05-20 15:44:11 (GMT) |
commit | 4bc58f51e156227d139668199ffe5df2ccb2f3c2 (patch) | |
tree | 50369b94e3cd3d4b4707eea168447f5bca6d681b /net/bluetooth/hci_conn.c | |
parent | f4e2dd53d5d876aaf33ec9c4d3dd0286a5bf89c5 (diff) | |
download | linux-4bc58f51e156227d139668199ffe5df2ccb2f3c2.tar.xz |
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>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index a987e7d..1bb8900 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -28,6 +28,7 @@ #include <net/bluetooth/bluetooth.h> #include <net/bluetooth/hci_core.h> +#include <net/bluetooth/l2cap.h> #include "smp.h" #include "a2mp.h" |