summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/security.c')
-rw-r--r--hcid/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/security.c b/hcid/security.c
index 77fb9d41..c82fbc00 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -852,7 +852,7 @@ void start_security_manager(int hdev)
chan = g_io_channel_unix_new(dev);
g_io_channel_set_close_on_unref(chan, TRUE);
- io_data[hdev].watch_id = g_io_add_watch_full(chan, 0,
+ io_data[hdev].watch_id = g_io_add_watch_full(chan, G_PRIORITY_HIGH,
G_IO_IN | G_IO_NVAL | G_IO_HUP | G_IO_ERR,
io_security_event, di, (GDestroyNotify)free);
io_data[hdev].channel = chan;