summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-18 19:36:44 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-05-05 13:47:41 -0300
commit73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a (patch)
treee4ec31e6f06d1e84ad4eff0f6ee2a5f7e004a1b8 /include/net
parent9e4425fff9e0a0fb6a8c705777ed861f991f8747 (diff)
downloadop-kernel-dev-73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a.zip
op-kernel-dev-73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a.tar.gz
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/net')
-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 f5f3c2c..fb3f90ea 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);
OpenPOWER on IntegriCloud