Hi, On 15:10 Tue 21 Aug, Vinicius Costa Gomes wrote: > Hi, > > On 20:59 Tue 14 Aug, Vinicius Costa Gomes wrote: > > When a device is in the HCI_SETUP state, it was being counted as > > a valid device, but it wasn't included in the list returned to > > userspace. > > > > This can be reproduced when you add an adapter after doing > > 'rfkill block all', for example. > > > > This commit also has the (intended) effect of making > > 'btmgmt power on' work after the rfkill block has been lifted. > > > > Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxxxxxx> > > bump :-) Please ignore this patch. As discussed on IRC, seems that the right solution would be to fix the num_controllers parameters to not count devices in the HCI_SETUP state and do a proper power on on the device when it leaves the rfkill blocked state. Cheers, -- Vinicius -- 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