summaryrefslogtreecommitdiffstats
path: root/src/manager.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-27 11:24:48 -0300
committerLuiz Augusto von Dentz <luiz.dentz@indt.org.br>2008-08-29 17:31:42 -0300
commit92dcfff75cea59c9e4c65ab2b1d45730a9076a6a (patch)
tree003a4f19d7b2d2e5ff2a8883d0875a453a480a12 /src/manager.c
parent2e2f9a82505b962d20db8cbded2752a27537c566 (diff)
Fix emitting mode off twice when an adapter is unplugged.
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c
index 7dfec606..e0ad5e17 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -399,8 +399,6 @@ int manager_unregister_adapter(int id)
info("Unregister path: %s", path);
- adapter_stop(adapter);
-
manager_remove_adapter(adapter);
adapter_remove(adapter);