From 3f5615325989d5c739f08f75155f84908611c95e Mon Sep 17 00:00:00 2001 From: Tyler Wear Date: Mon, 30 Jul 2018 12:31:59 -0700 Subject: 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 --- ipacm/src/IPACM_Iface.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ipacm/src/IPACM_Iface.cpp') 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 -- cgit v1.2.3