commit | f355095756c2a0b77a5b0aa0384c0c09d9735252 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Feb 09 20:59:19 2014 -0500 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Feb 14 13:39:31 2014 -0800 |
tree | 0398680c23156f609f1a95d10430b37c2b193fe0 | |
parent | 033ace99c444daa4141b84419f670513ce637b77 [diff] |
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>