projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389f3b7
)
bluetooth: Cleanup if technology driver register fails
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Tue, 8 Nov 2011 15:24:03 +0000
(16:24 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 10 Nov 2011 12:32:21 +0000
(13:32 +0100)
plugins/bluetooth.c
patch
|
blob
|
history
diff --git
a/plugins/bluetooth.c
b/plugins/bluetooth.c
index
cdb20ff
..
1c8d3a0
100644
(file)
--- a/
plugins/bluetooth.c
+++ b/
plugins/bluetooth.c
@@
-1231,7
+1231,7
@@
static int bluetooth_init(void)
if (err < 0) {
connman_device_driver_unregister(&bluetooth_driver);
connman_network_driver_unregister(&pan_driver);
-
return err
;
+
goto remove
;
}
return 0;