summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/device.c b/src/device.c
index dcd1b854..9c089eee 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1552,12 +1552,7 @@ 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) {
+ if (!device->bonding) {
g_io_channel_close(io);
return FALSE;
}