summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-19 00:36:44 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-05-05 18:47:41 +0200
commit73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a (patch)
treee4ec31e6f06d1e84ad4eff0f6ee2a5f7e004a1b8 /include
parentBluetooth: Add l2cap_add_psm() and l2cap_add_scid() (diff)
downloadlinux-73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a.tar.xz
linux-73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a.zip
Bluetooth: Handle psm == 0 case inside l2cap_add_psm()
When the user doesn't specify a psm we have the choose one for the channel. Now we do this inside l2cap_add_psm(). Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/l2cap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index f5f3c2cf8a3e..fb3f90eaaaa4 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -458,7 +458,6 @@ void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb);
void l2cap_streaming_send(struct l2cap_chan *chan);
int l2cap_ertm_send(struct l2cap_chan *chan);
-struct sock *__l2cap_get_sock_by_addr(__le16 psm, bdaddr_t *src);
int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid);