diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-06-05 09:22:51 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 11:42:41 -0400 |
commit | 8d46321c4f63f7c2be9e3ba0bb26cb437fc5eded (patch) | |
tree | 71d48eeefef0ae21719c88ecffffb76166c3b916 /include/net/bluetooth/l2cap.h | |
parent | 67f86a45bb82091a2775561a1e498010afff54ee (diff) |
Bluetooth: Assign L2CAP socket priority when allocating SKB
The SKB for L2CAP sockets are all allocated in a central callback
in the socket support. Instead of having to pass around the socket
priority all the time, assign it to skb->priority when actually
allocating the SKB.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index cf67420616e5..18f4f27e0f74 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -872,8 +872,7 @@ struct l2cap_chan *l2cap_chan_create(void); | |||
872 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); | 872 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); |
873 | int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, | 873 | int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, |
874 | bdaddr_t *dst, u8 dst_type); | 874 | bdaddr_t *dst, u8 dst_type); |
875 | int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len, | 875 | int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len); |
876 | u32 priority); | ||
877 | void l2cap_chan_busy(struct l2cap_chan *chan, int busy); | 876 | void l2cap_chan_busy(struct l2cap_chan *chan, int busy); |
878 | int l2cap_chan_check_security(struct l2cap_chan *chan); | 877 | int l2cap_chan_check_security(struct l2cap_chan *chan); |
879 | void l2cap_chan_set_defaults(struct l2cap_chan *chan); | 878 | void l2cap_chan_set_defaults(struct l2cap_chan *chan); |