ipacm: For HAL feature, post wan_down event with 0 tether iface
Currently when WAN comes up, value of
IPACM_Wan::ipa_if_num_tether_v4_total is incremented. But
it is decremented in both case when WAN or LAN iface goes
down. So if WAN is up but LAN tether iface goes down and
comes up, value of IPACM_Wan::ipa_if_num_tether_v4_total
is 0. In result later UL flt rules will not be deleted when
wan goes down. In case of HAL post wan_down event with 0
if_num_tether and add condition to delete tether iface only
if HAL feature is not defined.
Change-Id: I3289cd89e2fd4de135ef44f402345644477e37b0
3 files changed