summaryrefslogtreecommitdiff
path: root/ipacm/src/IPACM_Iface.cpp
diff options
context:
space:
mode:
authorTyler Wear <twear@codeaurora.org>2018-07-30 12:31:59 -0700
committerKumar Anand <kumaranand@google.com>2018-07-31 20:36:09 +0000
commit3f5615325989d5c739f08f75155f84908611c95e (patch)
treea7c6c2bea92b95bacfda363e736b0764b71006f1 /ipacm/src/IPACM_Iface.cpp
parentf22064088b1538509e1f1f8cafd07ca3c13f00c9 (diff)
downloadipacfg-mgr-3f5615325989d5c739f08f75155f84908611c95e.tar.gz
ipacm: do not post internal link up events
The internal link up events clear up the cache of requests from FWK causing offload to fail. This CL fixes not to post internal link up events when IPACM is started from boot. Test: WiFi tethering offload is verified on B1C1 Bug: 110913099 Change-Id: I4b310423e188923a3a251c29cc6f7e30edc05797
Diffstat (limited to 'ipacm/src/IPACM_Iface.cpp')
-rw-r--r--ipacm/src/IPACM_Iface.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Iface.cpp b/ipacm/src/IPACM_Iface.cpp
index e24f7d9..bee69ed 100644
--- a/ipacm/src/IPACM_Iface.cpp
+++ b/ipacm/src/IPACM_Iface.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2013, The Linux Foundation. All rights reserved.
+Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -1026,3 +1026,10 @@ void IPACM_Iface::config_ip_type(ipa_ip_type iptype)
return;
}
+
+void IPACM_Iface::delete_iface(void)
+{
+ IPACMDBG_H("netdev (%s):ipa_index (%d) instance close \n",
+ IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ipa_if_num);
+ delete this;
+} \ No newline at end of file