Hi Johan, > We'll need to reuse the same logic for stopping discovery also when > cleaning up HCI state when powering off. This patch refactors the code > out to its own function that can later (in a subsequent patch) be used > also for the power off case. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/mgmt.c | 93 +++++++++++++++++++++++++++------------------------- > 1 file changed, 49 insertions(+), 44 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