Fix wrong function name
[platform/core/api/connection.git] / src / libnetwork_mptcp.c
index 61489b0..41648d5 100755 (executable)
@@ -86,7 +86,7 @@ int _connection_libnet_mptcp_enable(connection_mptcp_enable_e enable)
 {
        int rv = 0;
 
-       rv = net_mptcp_set_enable((int)enable);
+       rv = net_mptcp_set_enabled((int)enable);
        if (rv == NET_ERR_ACCESS_DENIED) {
                CONNECTION_LOG(CONNECTION_ERROR, "Access denied");
                return CONNECTION_ERROR_PERMISSION_DENIED;