From: Andrei Emeltchenko Date: Fri, 24 Feb 2012 14:00:00 +0000 (+0200) Subject: Bluetooth: Remove duplicated code in l2cap conn req X-Git-Tag: v3.4-rc1~177^2~112^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b27f350688c9399da10c2b888c4044c2c1bd923;p=pandora-kernel.git Bluetooth: Remove duplicated code in l2cap conn req The same sequence sending L2CAP Connection Request was used in several places. Using subroutine makes those places easy to read. Signed-off-by: Andrei Emeltchenko Reviewed-by: Ulisses Furquim Acked-by: Gustavo F. Padovan Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed