Merge "ip-conflict: Don't remove already removed timer" into tizen submit/tizen/20180521.002723
authortaesub kim <taesub.kim@samsung.com>
Fri, 18 May 2018 04:56:01 +0000 (04:56 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 18 May 2018 04:56:01 +0000 (04:56 +0000)
src/ip-conflict-detect.c

index fab3976..adb9124 100755 (executable)
@@ -127,8 +127,6 @@ static gboolean __arp_reply_timeout_cb(gpointer data)
 
        sd->iteration++;
        sd->arp_reply_timer = -1;
-       if (sd->timer_id != -1)
-               g_source_remove(sd->timer_id);
 
        if (conflict_state != NETCONFIG_IP_CONFLICT_STATE_CONFLICT_NOT_DETECTED &&
                        sd->iteration == CONFLICT_REMOVE_ITERATION_LIMIT) {