diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-06-05 15:22:51 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:41 +0200 |
commit | 8d46321c4f63f7c2be9e3ba0bb26cb437fc5eded (patch) | |
tree | 71d48eeefef0ae21719c88ecffffb76166c3b916 /net/bluetooth/a2mp.c | |
parent | 67f86a45bb82091a2775561a1e498010afff54ee (diff) | |
download | lwn-8d46321c4f63f7c2be9e3ba0bb26cb437fc5eded.tar.gz lwn-8d46321c4f63f7c2be9e3ba0bb26cb437fc5eded.zip |
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 'net/bluetooth/a2mp.c')
-rw-r--r-- | net/bluetooth/a2mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index 1996b4c4dfd5..1a5b1eb96d1a 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c @@ -63,7 +63,7 @@ void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) msg.msg_iov = (struct iovec *) &iv; msg.msg_iovlen = 1; - l2cap_chan_send(chan, &msg, total_len, 0); + l2cap_chan_send(chan, &msg, total_len); kfree(cmd); } |