diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/glib-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/glib-helper.c b/common/glib-helper.c index 29d72e56..e892a893 100644 --- a/common/glib-helper.c +++ b/common/glib-helper.c @@ -683,7 +683,7 @@ static gboolean hci_event_watch(GIOChannel *io, failed: cmd->cb(status, cmd->caller_data); - g_io_channel_close(io); + g_io_channel_shutdown(io, TRUE, NULL); return FALSE; } |