]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: make use of connection number to optimize the scheduler
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 17 Aug 2011 13:23:00 +0000 (16:23 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:58:10 +0000 (12:58 -0300)
commit010905df6679fa1b793888753e04abbcac5479ab
tree4b7bf7510a44378a5cecfcb66d22364624c2dd56
parent1fe5310d9841a43f0c042ea4e647ab99e54df1ff
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 <luiz.von.dentz@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c