From: Gustavo Padovan Date: Mon, 28 May 2012 01:27:58 +0000 (-0300) Subject: Bluetooth: check for already existent channel before create new one X-Git-Tag: v3.6-rc1~125^2~57^2~290^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfa1003ccd19b435de0be00f6afb7ccdffd7596;p=pandora-kernel.git 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 Acked-by: Andrei Emeltchenko Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed