Hi Johan, > Similar to our hci_update_background_scan() function we can simplify a > lot of code by creating a unified helper function for doing page scan > updates. This patch adds such a function to hci_core.c and updates all > the relevant places to use it. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 5 +++ > net/bluetooth/hci_core.c | 31 +++++++++++++++++ > net/bluetooth/mgmt.c | 72 +++++++--------------------------------- > 3 files changed, 48 insertions(+), 60 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