commit | 2dfa1003ccd19b435de0be00f6afb7ccdffd7596 | [log] [tgz] |
---|---|---|
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | Sun May 27 22:27:58 2012 -0300 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Jun 05 06:34:11 2012 +0300 |
tree | 3d09f8d4f15569d4be0a5ef607fe70742a378953 | |
parent | 538266929eb7165f92b91eb0f403120fe759e742 [diff] |
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>