diff options
| -rw-r--r-- | src/dbus-hci.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 9ddd65ec..bd976c83 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -1271,6 +1271,10 @@ int hcid_dbus_get_io_cap(bdaddr_t *local, bdaddr_t *remote,  		if (device_get_auth(device) == 0x02 ||  				device_get_auth(device) == 0x03)  			*auth = 0x02; + +		/* If remote requires MITM then also require it */ +		if (device_get_auth(device) & 0x01) +			*auth |= 0x01;  	}  	*cap = agent_get_io_capability(agent); | 
