Bluetooth: set skbuffer priority based on L2CAP socket priority
This uses SO_PRIORITY to set the skbuffer priority field Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
committed by
Gustavo F. Padovan
parent
8035ded466
commit
5e59b791c3
@@ -721,7 +721,7 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms
|
||||
return -ENOTCONN;
|
||||
}
|
||||
|
||||
err = l2cap_chan_send(chan, msg, len);
|
||||
err = l2cap_chan_send(chan, msg, len, sk->sk_priority);
|
||||
|
||||
release_sock(sk);
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user