Bluetooth: Create separate l2cap_send_disconn_req() function
authorGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Thu, 23 Jul 2009 13:27:23 +0000 (10:27 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:50:07 +0000 (14:50 -0700)
The code for sending a disconnect request was repeated several times
within L2CAP source code. So move this into its own function.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c

Simple merge