Get the network type 60/32460/1
authorChengyi Zhao <chengyi1.zhao@archermind.com>
Thu, 18 Dec 2014 07:48:29 +0000 (15:48 +0800)
committerChengyi Zhao <chengyi1.zhao@archermind.com>
Thu, 18 Dec 2014 09:52:52 +0000 (17:52 +0800)
Change-Id: Ie256e40392dc3e10cc55e32538dba6a08205b8f8
Signed-off-by: Chengyi Zhao <chengyi1.zhao@archermind.com>
src/connection_profile.c

index fb455f39465f70586571b0a154707645ae0322f7..a9bf15c2fbdb480f41cff51a9e8fd8c5c292f7e8 100644 (file)
@@ -326,7 +326,6 @@ EXPORT_API int connection_profile_get_type(connection_profile_h profile, connect
                return CONNECTION_ERROR_INVALID_PARAMETER;
        }
 
-       /*
        net_profile_info_t *profile_info = profile;
 
        switch (profile_info->profile_type) {
@@ -346,7 +345,6 @@ EXPORT_API int connection_profile_get_type(connection_profile_h profile, connect
                CONNECTION_LOG(CONNECTION_ERROR, "Invalid profile type\n");
                return CONNECTION_ERROR_OPERATION_FAILED;
        }
-        */
 
        return CONNECTION_ERROR_NONE;
 }