Hi, Here are a few patches to simplify & clean up advertising handling. I might be doing a bit more similar things before going for refactoring all of the advertising HCI activitity behind hdev->req_workqueue and hci_req_sync(). Johan ---------------------------------------------------------------- Johan Hedberg (2): Bluetooth: Clean up advertising initialization in powered_update_hci() Bluetooth: Clean up current advertising instance tracking net/bluetooth/hci_core.c | 12 ++++-- net/bluetooth/hci_request.c | 98 ++++++++++++-------------------------------- net/bluetooth/hci_request.h | 8 ++-- net/bluetooth/mgmt.c | 10 +++-- 4 files changed, 44 insertions(+), 84 deletions(-) -- 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