diff options
Diffstat (limited to 'src/dbus-hci.c')
| -rw-r--r-- | src/dbus-hci.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 7ce60a9e..7c3667f8 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1256,7 +1256,8 @@ int hcid_dbus_get_io_cap(bdaddr_t *local, bdaddr_t *remote,  		}  		/* If remote requires MITM then also require it */ -		if (device_get_auth(device) & 0x01) +		if (device_get_auth(device) != 0xff && +					(device_get_auth(device) & 0x01))  			*auth |= 0x01;  	}  | 
