diff options
| author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-04-18 18:36:44 -0400 |
|---|---|---|
| committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-05 12:47:41 -0400 |
| commit | 73b2ec18532f45e9028ce4c7bc8d7f8818eabd2a (patch) | |
| tree | e4ec31e6f06d1e84ad4eff0f6ee2a5f7e004a1b8 /include/net/bluetooth | |
| parent | 9e4425fff9e0a0fb6a8c705777ed861f991f8747 (diff) | |
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/bluetooth')
| -rw-r--r-- | include/net/bluetooth/l2cap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index f5f3c2cf8a3..fb3f90eaaaa 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); | |||
| 458 | void l2cap_streaming_send(struct l2cap_chan *chan); | 458 | void l2cap_streaming_send(struct l2cap_chan *chan); |
| 459 | int l2cap_ertm_send(struct l2cap_chan *chan); | 459 | int l2cap_ertm_send(struct l2cap_chan *chan); |
| 460 | 460 | ||
| 461 | struct sock *__l2cap_get_sock_by_addr(__le16 psm, bdaddr_t *src); | ||
| 462 | int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm); | 461 | int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm); |
| 463 | int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid); | 462 | int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid); |
| 464 | 463 | ||
