Fix SVACE issue : WGID 67706 64/75964/1
authormin7.choi <min7.choi@samsung.com>
Wed, 22 Jun 2016 08:43:43 +0000 (17:43 +0900)
committermin7.choi <min7.choi@samsung.com>
Wed, 22 Jun 2016 08:43:43 +0000 (17:43 +0900)
Change-Id: I703e6241d70a2c6278c9c49828e341f2efcb8968
Signed-off-by: min7.choi <min7.choi@samsung.com>
provider/download-provider-network.c

index 5fafe2c..a8b5c69 100755 (executable)
@@ -137,7 +137,12 @@ static int __dp_get_network_connection_status(connection_h connection, connectio
                TRACE_INFO("DISCONNECTED");
                network_type = DP_NETWORK_OFF;
        }
-       g_network_status = network_type;
+    pthread_mutex_lock(&g_dp_network_mutex);
+
+    g_network_status = network_type;
+
+    pthread_mutex_unlock(&g_dp_network_mutex);
+
        return network_type;
 }