--- src/shared/io-glib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/io-glib.c b/src/shared/io-glib.c index 5490fc0..76f5a44 100644 --- a/src/shared/io-glib.c +++ b/src/shared/io-glib.c @@ -195,6 +195,7 @@ bool io_set_read_handler(struct io *io, io_callback_func_t callback, io->read_destroy = destroy; io->read_data = user_data; + done: io->read_callback = callback; @@ -256,6 +257,7 @@ bool io_set_write_handler(struct io *io, io_callback_func_t callback, io->write_destroy = destroy; io->write_data = user_data; + done: io->write_callback = callback; -- 1.9.0 -- 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