summaryrefslogtreecommitdiffstats
path: root/reference-cne/src/CneSvc.cpp
diff options
context:
space:
mode:
authorChinh Tran <chinht@quicinc.com>2010-02-08 15:59:46 -0800
committerChinh Tran <chinht@quicinc.com>2010-02-12 14:08:46 -0800
commit9850d1b062e7a5832bc3b66b814369cb57867093 (patch)
tree11ec3493dd5a3d2dcd614a48f7684a2587bd0d59 /reference-cne/src/CneSvc.cpp
parent7b3afc04f3ad11c10d964762684caef66f3f5b4d (diff)
downloadandroid_external_connectivity-9850d1b062e7a5832bc3b66b814369cb57867093.tar.gz
android_external_connectivity-9850d1b062e7a5832bc3b66b814369cb57867093.tar.bz2
android_external_connectivity-9850d1b062e7a5832bc3b66b814369cb57867093.zip
external/connectivity/(CNE): Fix multiple network interface in main table
Check the init service and only activate iproute2 when CNE is in use CRs-fixed: 225970
Diffstat (limited to 'reference-cne/src/CneSvc.cpp')
-rw-r--r--reference-cne/src/CneSvc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/reference-cne/src/CneSvc.cpp b/reference-cne/src/CneSvc.cpp
index 77f2f5b..91b1baf 100644
--- a/reference-cne/src/CneSvc.cpp
+++ b/reference-cne/src/CneSvc.cpp
@@ -175,7 +175,7 @@ cne_regMessageCb
* SIDE EFFECTS
*--------------------------------------------------------------------------*/
-void cne_svc_init
+int cne_svc_init
(
void
)
@@ -183,6 +183,7 @@ void cne_svc_init
/* create the RefCne obj */
RCNE_MSG_DEBUG("Reference CNE init called");
(void) CRefCne::getInstance();
+ return CNE_SERVICE_DISABLED;
}