diff options
| -rw-r--r-- | hcid/dbus-adapter.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c index c7f11d5b..4312c284 100644 --- a/hcid/dbus-adapter.c +++ b/hcid/dbus-adapter.c @@ -1808,7 +1808,7 @@ static gboolean create_bonding_conn_complete(GIOChannel *io, GIOCondition cond,  		goto cleanup;  	} -	if (cond & G_IO_HUP & G_IO_ERR) { +	if (cond & (G_IO_HUP | G_IO_ERR)) {  		debug("Hangup or error on bonding IO channel");  		error_failed(pdata->bonding->conn, pdata->bonding->rq, EIO);  		goto failed; | 
