Bluetooth: Remove duplicated code in l2cap conn req
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 24 Feb 2012 14:00:00 +0000 (16:00 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 24 Feb 2012 18:35:02 +0000 (20:35 +0200)
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 <andrei.emeltchenko@intel.com>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>

No differences found