summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 07:20:18 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-08 07:20:18 +0000
commitc55897bd5cd54e9014a8bce22324a72bd4d63873 (patch)
treea1e468b56133d40b67f4c75a1ba32c4206d17992
parent5e0400e78e70f8bbacc4b78cfbb4a1d4e022fc01 (diff)
parentc75c8a4b7b96a72360c0c1372189ed68704010d6 (diff)
downloadipacfg-mgr-c55897bd5cd54e9014a8bce22324a72bd4d63873.tar.gz
Snap for 4829593 from c75c8a4b7b96a72360c0c1372189ed68704010d6 to pi-release
Change-Id: Ib2f6f9046e8078ff024bf10bb4e36e26e392ed34
-rw-r--r--ipacm/src/IPACM_Netlink.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Netlink.cpp b/ipacm/src/IPACM_Netlink.cpp
index e2ecd50..9c35497 100644
--- a/ipacm/src/IPACM_Netlink.cpp
+++ b/ipacm/src/IPACM_Netlink.cpp
@@ -710,7 +710,13 @@ static int ipa_nl_decode_nlmsg
IPACMERR("Error while getting interface name\n");
return IPACM_FAILURE;
}
- IPACMDBG("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metainfo.ifi_index);
+ IPACMDBG_H("Got a usb link_up event (Interface %s, %d) \n", dev_name, msg_ptr->nl_link_info.metainfo.ifi_index);
+ /* We don't expect change in iff_flags for rmnet_data interfaces. */
+ if (!strncmp(dev_name,"rmnet_data",strlen("rmnet_data")))
+ {
+ IPACMERR("Don't expect iff_flags change for rmnet_data interface. IGNORE\n");
+ return IPACM_FAILURE;
+ }
/*--------------------------------------------------------------------------
Post LAN iface (ECM) link up event