From: Luiz Augusto von Dentz Date: Wed, 2 Nov 2011 13:52:03 +0000 (+0200) Subject: Bluetooth: recalculate priorities when channels are starving X-Git-Tag: v3.3-rc1~182^2~545^2~134^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02b20f0bb661829cbd431e5deb2474e909e65cec;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed