projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b6dfc
)
ip-conflict: Don't remove already removed timer
57/179357/1
author
Saurav Babu
<saurav.babu@samsung.com>
Thu, 17 May 2018 10:05:06 +0000
(15:35 +0530)
committer
Saurav Babu
<saurav.babu@samsung.com>
Thu, 17 May 2018 10:05:06 +0000
(15:35 +0530)
sd->timer_id is already removed in the callback function, it is not
required to remove this source again
Change-Id: I977d923ce03657d93f28fcf13472321b1b420896
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/ip-conflict-detect.c
patch
|
blob
|
history
diff --git
a/src/ip-conflict-detect.c
b/src/ip-conflict-detect.c
index fab3976274821e6317a87efcf612a4caae8118bb..adb91249485c389e509faa99fc129fd2e0d26d4d 100755
(executable)
--- a/
src/ip-conflict-detect.c
+++ b/
src/ip-conflict-detect.c
@@
-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) {