summaryrefslogtreecommitdiff
path: root/ipacm/src/IPACM_Netlink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ipacm/src/IPACM_Netlink.cpp')
-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