kernel_optimize_test/net/bluetooth
Gustavo Padovan 2dfa1003cc Bluetooth: check for already existent channel before create new one
Move this check to before the channel time creation simplifies the code
and avoid memory allocation if the channel already exist.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2012-06-05 06:34:11 +03:00
..
bnep Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
cmtp Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hidp Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
rfcomm Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
af_bluetooth.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
hci_conn.c Bluetooth: Use __constant modifier in HCI code 2012-06-05 06:34:09 +03:00
hci_core.c Bluetooth: Really fix registering hci with duplicate name 2012-06-05 06:34:10 +03:00
hci_event.c Bluetooth: Use __constant modifier in HCI code 2012-06-05 06:34:09 +03:00
hci_sock.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
hci_sysfs.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
Kconfig Bluetooth: Fix Kconfig help description 2012-02-29 18:50:25 +02:00
l2cap_core.c Bluetooth: check for already existent channel before create new one 2012-06-05 06:34:11 +03:00
l2cap_sock.c Bluetooth: Move check for backlog size to l2cap_sock.c 2012-06-05 06:34:11 +03:00
lib.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
Makefile Bluetooth: Always compile SCO and L2CAP in Bluetooth Core 2011-12-21 02:21:08 -02:00
mgmt.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
sco.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
smp.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00