diff options
author | Gustavo Padovan <[email protected]> | 2012-05-27 22:27:58 -0300 |
---|---|---|
committer | Johan Hedberg <[email protected]> | 2012-06-05 06:34:11 +0300 |
commit | 2dfa1003ccd19b435de0be00f6afb7ccdffd7596 (patch) | |
tree | 3d09f8d4f15569d4be0a5ef607fe70742a378953 /lib/cpu-notifier-error-inject.c | |
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 <[email protected]>
Acked-by: Andrei Emeltchenko <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions