From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> bdaddr_type shall only matter for controllers supporting LE otherwise it may cause BDADDR_BREDR to be used for things like LE ATT socket listen breaking reconnections. --- src/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapter.c b/src/adapter.c index b81b4e8..b134709 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -8085,7 +8085,7 @@ static void read_info_complete(uint8_t status, uint16_t length, } } else { bacpy(&adapter->bdaddr, &rp->bdaddr); - if (adapter->supported_settings & MGMT_SETTING_BREDR) + if (!(adapter->supported_settings & MGMT_SETTING_LE)) adapter->bdaddr_type = BDADDR_BREDR; else adapter->bdaddr_type = BDADDR_LE_PUBLIC; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html