This is epsecially needed when we want to modify timer. --- monitor/mainloop.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/monitor/mainloop.c b/monitor/mainloop.c index 8c94bfe..7f97e65 100644 --- a/monitor/mainloop.c +++ b/monitor/mainloop.c @@ -222,9 +222,6 @@ int mainloop_modify_fd(int fd, uint32_t events) if (!data) return -ENXIO; - if (data->events == events) - return 0; - memset(&ev, 0, sizeof(ev)); ev.events = events; ev.data.ptr = data; -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html