mbox series

[0/1] Bluetooth: ISO: Fix invalid context error

Message ID 20230927113739.3332-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: Fix invalid context error | expand

Message

Iulia Tanasescu Sept. 27, 2023, 11:37 a.m. UTC
This patch fixes the error introduced by commit a0bfde167b50
("Bluetooth: ISO: Add support for connecting multiple BISes"):

BUG: sleeping function called from invalid context in __hci_cmd_sync_sk

When handling the Create BIG Complete event, in case no bound BISes
have been found for the BIG handle, the hci_le_terminate_big_sync
call should be made from the cmd_sync_work, not from the rx_work.

Iulia Tanasescu (1):
  Bluetooth: ISO: Fix invalid context error

 net/bluetooth/hci_event.c | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)


base-commit: 091e25d6b54992d1d702ae91cbac139d4c243251