diff options
author | Mohammed Javid <mjavid@codeaurora.org> | 2018-02-08 01:12:59 +0530 |
---|---|---|
committer | Mohammed Javid <mjavid@codeaurora.org> | 2018-02-20 14:34:37 +0530 |
commit | f490bbc8f6db14d7a4700d351c72cf2396417851 (patch) | |
tree | 619042d5f4b629f2a7849a2267f9092b28fe61b2 /ipacm/src/IPACM_Wlan.cpp | |
parent | f94ed583afad25eea92faabbfaf3192fffa495f8 (diff) | |
download | ipacfg-mgr-f490bbc8f6db14d7a4700d351c72cf2396417851.tar.gz |
ipacm: cache framework event if IPACM not ready
When set_upstream/add_downstream events received from framework,
IPACM can't handle them if those events are coming earlier than
the new_address netlink event. The fix is to cache those framework
events in offload_manager if IPACM haven't got the netdev
ip-address.
Change-Id: I7826ada63fdc093632b06fba5b43c7a4cf101fb0
Diffstat (limited to 'ipacm/src/IPACM_Wlan.cpp')
-rw-r--r-- | ipacm/src/IPACM_Wlan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Wlan.cpp b/ipacm/src/IPACM_Wlan.cpp index ec93233..0669b80 100644 --- a/ipacm/src/IPACM_Wlan.cpp +++ b/ipacm/src/IPACM_Wlan.cpp @@ -870,7 +870,7 @@ void IPACM_Wlan::event_callback(ipa_cm_event_id event, void *param) if (rx_prop != NULL || tx_prop != NULL) { IPACMDBG_H(" Has rx/tx properties registered for iface %s, add for NATTING \n", dev_name); - IPACM_Iface::ipacmcfg->AddNatIfaces(dev_name); + IPACM_Iface::ipacmcfg->AddNatIfaces(dev_name, IPA_IP_MAX); } if (m_is_guest_ap == true && (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].wlan_mode == FULL)) |