summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 00:24:04 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-01-16 00:24:04 +0200
commit5331a26b8a3c2d69d30a4334e023238db197080b (patch)
tree559cdd9eac0c78391ac8d3c552c976637ba78faf /src/device.c
parentb46b7234c3dbee8431dbe45b6d5045b2bc8480df (diff)
Don't use auth_required. New kernels still need explicit auth requested
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;
}