OSDN Git Service
(root)
/
android-x86
/
system-connectivity-wificond.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always set interface down in object destruction
[android-x86/system-connectivity-wificond.git]
/
ap_interface_impl.cpp
diff --git
a/ap_interface_impl.cpp
b/ap_interface_impl.cpp
index
0bbbb85
..
e7f0df9
100644
(file)
--- a/
ap_interface_impl.cpp
+++ b/
ap_interface_impl.cpp
@@
-48,6
+48,7
@@
ApInterfaceImpl::ApInterfaceImpl(const string& interface_name,
ApInterfaceImpl::~ApInterfaceImpl() {
binder_->NotifyImplDead();
+ if_tool_->SetUpState(interface_name_.c_str(), false);
}
sp<IApInterface> ApInterfaceImpl::GetBinder() const {