Hi Johan, > This patch moves the pending management command list (previously global > to mgmt.c) into struct hci_dev. This makes it possible to do proper > locking when accessing it (through the existing hci_dev locks) and > thereby avoid race conditions. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 2 + > net/bluetooth/hci_core.c | 6 +++ > net/bluetooth/mgmt.c | 79 +++++++++++++++++++------------------- > 3 files changed, 47 insertions(+), 40 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