diff options
| author | Gustavo Padovan <gustavo@padovan.org> | 2012-03-25 12:59:16 -0400 |
|---|---|---|
| committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-08 23:41:36 -0400 |
| commit | eef1d9b668c51dcae58d8bb41ce0c805f866dbbd (patch) | |
| tree | ca3bdca54bbeeb59a15d8d4dafbda33dbb000101 /include/net | |
| parent | 14a284918416e480bf49f8c05dfeefa02640d2d6 (diff) | |
Bluetooth: Remove sk parameter from l2cap_chan_create()
Following the separation if core and sock code this change avoid
manipulation of sk inside l2cap_chan_create().
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/l2cap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index c988df6f63bf..f6f0500bf370 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
| @@ -906,7 +906,7 @@ int __l2cap_wait_ack(struct sock *sk); | |||
| 906 | int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm); | 906 | int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm); |
| 907 | int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid); | 907 | int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid); |
| 908 | 908 | ||
| 909 | struct l2cap_chan *l2cap_chan_create(struct sock *sk); | 909 | struct l2cap_chan *l2cap_chan_create(void); |
| 910 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); | 910 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); |
| 911 | void l2cap_chan_destroy(struct l2cap_chan *chan); | 911 | void l2cap_chan_destroy(struct l2cap_chan *chan); |
| 912 | int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, | 912 | int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, |
