summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_sock.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-11-02 13:52:03 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-07 19:24:57 (GMT)
commit02b20f0bb661829cbd431e5deb2474e909e65cec (patch)
treede363e727b52bf1cdea266fd013b28ccec7a75e1 /net/bluetooth/l2cap_sock.c
parentec1cce24d5950e797f10650abf7890ead67c6e64 (diff)
downloadlinux-fsl-qoriq-02b20f0bb661829cbd431e5deb2474e909e65cec.tar.xz
Bluetooth: recalculate priorities when channels are starving
To avoid starvation the priority is recalculated so that the starving channels are promoted to HCI_PRIO_MAX - 1 (6). HCI_PRIO_MAX (7) is considered special, because it requires CAP_NET_ADMIN capability which can be used to provide more guaranties, so it is not used when promoting. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_sock.c')
0 files changed, 0 insertions, 0 deletions