Bluetooth: Refactor L2CAP connect rejection to its own function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 14 May 2013 19:24:44 +0000 (22:24 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:33 +0000 (07:05 -0800)
commit791d60f71a8d743df17a5029bb080a24afc4fff6
tree8d285b7a72d09e3c8eae4485c7cf865cd05f1fc7
parentad32a2f5ced269f5516950fc8f52b6673462d208
Bluetooth: Refactor L2CAP connect rejection to its own function

We'll need to have a separate code path for LE based connection
rejection so it's cleaner to move out the response construction code
into its own function (and later a second one for LE).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c