Hi Johan, > Enabling passive scanning always when we're connectable aligns us with > the BR/EDR page scanning. This is also consistent with the fact that the > code dealing with passive scanning results will actively try to connect > any direct advertising event when we're connectable. > > This patch implements the feature by adding the connectable condition to > hci_update_background_scan() checks for starting scanning and by calling > hci_update_background_scan() whenever the connectable state changes. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/hci_core.c | 3 ++- > net/bluetooth/mgmt.c | 4 +++- > 2 files changed, 5 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- 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