From: Luiz Augusto von Dentz Date: Wed, 17 Aug 2011 13:23:00 +0000 (+0300) Subject: Bluetooth: make use of connection number to optimize the scheduler X-Git-Tag: v3.2-rc1~129^2~183^2~39^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52087a792c1513b85de674a4fc67fb92855474c3;p=pandora-kernel.git Bluetooth: make use of connection number to optimize the scheduler This checks if there is any existing connection according to its type before start iterating in the list and immediately stop iterating when reaching the number of connections. Signed-off-by: Luiz Augusto von Dentz Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed