summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-11-02 15:52:03 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-07 17:24:57 -0200
commit02b20f0bb661829cbd431e5deb2474e909e65cec (patch)
treede363e727b52bf1cdea266fd013b28ccec7a75e1 /drivers/bluetooth
parentec1cce24d5950e797f10650abf7890ead67c6e64 (diff)
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 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions