git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396dc22
)
Bluetooth: Remove the device from the list in the destructor
author
Gianluca Anzolin
<gianluca@sottospazio.it>
Mon, 29 Jul 2013 15:08:09 +0000
(17:08 +0200)
committer
Gustavo Padovan
<gustavo.padovan@collabora.co.uk>
Wed, 21 Aug 2013 14:47:06 +0000
(16:47 +0200)
The current code removes the device from the device list in several
places. Do it only in the destructor instead and in the error path of
rfcomm_add_dev() if the device couldn't be initialized.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
No differences found