Hi Johan, > We should return a "busy" error always when there is another > mgmt_set_powered operation in progress. Previously when powering on > while the auto off timer was still set the code could have let two or > more pending power on commands to be queued. This patch fixes the issue > by moving the check for duplicate commands to an earlier point in the > set_powered handler. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/mgmt.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> 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