diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-11-01 04:58:57 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-11-07 14:24:47 -0500 |
commit | 5e59b791c3561e2fbb4aee17df3505ad25c16b7a (patch) | |
tree | 9c071f96562e42c91f572502c5302d06f1012cc8 /include/net/bluetooth/l2cap.h | |
parent | 8035ded466049ca2fe8c04564a0fa00f222abe3f (diff) |
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>
Diffstat (limited to 'include/net/bluetooth/l2cap.h')
-rw-r--r-- | include/net/bluetooth/l2cap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h index 38a561581169..c10bf1db0abb 100644 --- a/include/net/bluetooth/l2cap.h +++ b/include/net/bluetooth/l2cap.h | |||
@@ -747,7 +747,8 @@ struct l2cap_chan *l2cap_chan_create(struct sock *sk); | |||
747 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); | 747 | void l2cap_chan_close(struct l2cap_chan *chan, int reason); |
748 | void l2cap_chan_destroy(struct l2cap_chan *chan); | 748 | void l2cap_chan_destroy(struct l2cap_chan *chan); |
749 | int l2cap_chan_connect(struct l2cap_chan *chan); | 749 | int l2cap_chan_connect(struct l2cap_chan *chan); |
750 | int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len); | 750 | int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len, |
751 | u32 priority); | ||
751 | void l2cap_chan_busy(struct l2cap_chan *chan, int busy); | 752 | void l2cap_chan_busy(struct l2cap_chan *chan, int busy); |
752 | 753 | ||
753 | #endif /* __L2CAP_H */ | 754 | #endif /* __L2CAP_H */ |