diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/device.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index deb63645..68008ead 100644 --- a/src/device.c +++ b/src/device.c @@ -1552,6 +1552,11 @@ static gboolean create_bonding_io_cb(GIOChannel *io, GIOCondition cond, socklen_t len; int sk, dd, ret; + if (!device->bonding->auth_required) { + device->bonding->io_id = 0; + return FALSE; + } + if (!device->bonding || !device->bonding->auth_required) { g_io_channel_close(io); return FALSE; |