IPACM: fix WLAN mode switch and AP+STA mode STA LINK_DOWN issue

This change fixes 2 issue:
1. In WLAN AP+STA mode, IPACM receives LINK_DOWN event from netlink
soon after STA is brought up. We changed event name to ignore LINK_DOWN
from netlink socket, but only rely on WLAN messages to close iface
instance.
2. In WLAN mode switch between AP+STA mode and AP mode, we see 2
route add event for STA Iface and route add/route del events are
disordered. We fix IPACM logic to handle this issue.

Change-Id: Ic4749467f4c8213dfb1e32023f5d5b321e5cf00c
7 files changed
tree: 841b4c3136e96360b6edf3acac45a1fbc69d7b16
  1. ipacm/
  2. ipanat/
  3. configure.ac
  4. Makefile.am