summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_conn.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-02-10 02:59:19 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-02-14 22:39:31 +0100
commitf355095756c2a0b77a5b0aa0384c0c09d9735252 (patch)
tree0398680c23156f609f1a95d10430b37c2b193fe0 /net/bluetooth/hci_conn.c
parentBluetooth: Serialize RFCOMMCREATEDEV and RFCOMMRELEASEDEV ioctls (diff)
downloadlinux-f355095756c2a0b77a5b0aa0384c0c09d9735252.tar.xz
linux-f355095756c2a0b77a5b0aa0384c0c09d9735252.zip
Bluetooth: Refactor rfcomm_dev_add()
Move rfcomm_dev allocation and initialization into new function, __rfcomm_dev_add(), to simplify resource release in error handling. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Tested-By: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
0 files changed, 0 insertions, 0 deletions