projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca0694
)
device: Do not disable technology twice
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 8 Nov 2010 10:25:47 +0000
(11:25 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 8 Nov 2010 10:25:47 +0000
(11:25 +0100)
The technology disabling is done by the technology plugins.
Fixes BMC#8074
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
aa1ced6
..
0127129
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-299,13
+299,9
@@
static void probe_driver(struct connman_element *element, gpointer user_data)
static void remove_device(struct connman_device *device)
{
- int err;
-
DBG("device %p", device);
- err = __connman_device_disable(device);
- if (err < 0 && err == -EINPROGRESS)
- __connman_technology_disable_device(device);
+ __connman_device_disable(device);
__connman_technology_remove_device(device);