summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaronding <aaronding@google.com>2018-06-04 11:26:15 +0800
committeraaronding <aaronding@google.com>2018-06-04 12:01:30 +0800
commitc75c8a4b7b96a72360c0c1372189ed68704010d6 (patch)
treea1e468b56133d40b67f4c75a1ba32c4206d17992
parent88e98374cb52b954c7598bd81172b5b08b7de4d3 (diff)
parenta7672c1e375d1119b363bf2ae3eb38e1ee0bbcfe (diff)
downloadipacfg-mgr-c75c8a4b7b96a72360c0c1372189ed68704010d6.tar.gz
Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.356' into pi-dev
Bug: 109547412 Change-Id: I20bd6f7a832d7ea4d486e36c216cfa9067484382
-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