From: Gustavo Padovan Date: Tue, 15 Oct 2013 22:24:51 +0000 (-0300) Subject: Bluetooth: use l2cap_chan_ready() instead of duplicate code X-Git-Tag: v3.13-rc1~105^2~23^2^2~4^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74e7574066e020dca8ad8a57927470e67ea91394;p=pandora-kernel.git Bluetooth: use l2cap_chan_ready() instead of duplicate code In this case the replacement by l2cap_chan_ready() doesn't change the code flow, the same operations will executed plus two others that have no effect: the use of the parent socket, that a non-oriented channel doesn't have and the reset of conf_state, which is also fine since the connection is ready at this point. Signed-off-by: Gustavo Padovan Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed