summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-03-28 16:31:25 +0300
committerGustavo Padovan <gustavo@padovan.org>2012-05-09 00:41:39 -0300
commitbd4b165312bacbf1e732cbc22c141362cfb5fda3 (patch)
tree189a94b160db0ab5100863d50dfe36959a52ea07 /include/net
parent6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac (diff)
downloadlinux-bd4b165312bacbf1e732cbc22c141362cfb5fda3.tar.gz
linux-bd4b165312bacbf1e732cbc22c141362cfb5fda3.tar.xz
linux-bd4b165312bacbf1e732cbc22c141362cfb5fda3.zip
Bluetooth: Adds set_default function in L2CAP setup
Some parameters in L2CAP chan are set to default similar way in socket based channels and A2MP channels. Adds common function which sets all defaults. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index f6f0500bf370..c70e2cf107ff 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -915,5 +915,6 @@ int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len,
u32 priority);
void l2cap_chan_busy(struct l2cap_chan *chan, int busy);
int l2cap_chan_check_security(struct l2cap_chan *chan);
+void l2cap_chan_set_defaults(struct l2cap_chan *chan);
#endif /* __L2CAP_H */