summaryrefslogtreecommitdiffstats
path: root/hcid/security.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-09-27 16:25:11 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-09-27 16:25:11 +0000
commit255528bec9a5ffdd81ce509f2166a3a405b958d3 (patch)
tree4f0f3944f4d5f26525f8618647d3e1c453b4dc1e /hcid/security.c
parent247635fe3905e4cc084a167c6db6e53dd7b0554d (diff)
Return correct error reply for CreateBonding when using security mode 3
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;