If the Host issues the HCI_LE_Periodic_Advertising_Create_Sync command while another is pending, the Controller shall return the error code Command Disallowed (0x0C) (Bluetooth Core spec 5.3, Vol 4, Part E, page 2493). The same applies for the HCI_LE_BIG_ Create_Sync command (Bluetooth Core spec 5.3, Vol 4, Part E, page 2586). This patch updates the way PA/BIG sync commands are handled, by waiting for the previous command to complete before handling a new one. Iulia Tanasescu (4): Bluetooth: ISO: Do not emit LE PA Create Sync if previous is pending Bluetooth: ISO: Fix matching parent socket for BIS slave Bluetooth: ISO: Do not emit LE BIG Create Sync if previous is pending Bluetooth: ISO: Update hci_conn_hash_lookup_big for Broadcast slave include/net/bluetooth/hci.h | 4 +- include/net/bluetooth/hci_core.h | 75 +++++++++++- net/bluetooth/hci_conn.c | 204 +++++++++++++++++++++++-------- net/bluetooth/hci_event.c | 40 +++++- net/bluetooth/iso.c | 24 +++- 5 files changed, 290 insertions(+), 57 deletions(-) base-commit: dff8a64238a3f951dbf0930bac915eec7cae8200 -- 2.43.0