diff options
Diffstat (limited to 'hcid/security.c')
-rw-r--r-- | hcid/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/security.c b/hcid/security.c index ca984852..e14b98e9 100644 --- a/hcid/security.c +++ b/hcid/security.c @@ -882,7 +882,7 @@ void stop_security_manager(int hdev) info("Stopping security manager %d", hdev); - g_io_remove_watch(io_data[hdev].watch_id); + g_source_remove(io_data[hdev].watch_id); g_io_channel_unref(io_data[hdev].channel); io_data[hdev].watch_id = -1; io_data[hdev].channel = NULL; |