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: NGustavo Padovan <gustavo.padovan@collabora.co.uk> Acked-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
Showing
想要评论请 注册 或 登录