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)
commit22121fc9152ca8f25a2d790860832ccb6a414c4d
tree03fcc5bdbdae77838f9aff9ce0f6e43895fd36d7
parentf2fcfcd670257236ebf2088bbdf26f6a8ef459fe
Bluetooth: Create separate l2cap_send_disconn_req() function

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