mbox series

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

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

Message

Iulia Tanasescu Sept. 28, 2023, 7:52 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.

This patch version addresses review comments.

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

 net/bluetooth/hci_event.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)


base-commit: 091e25d6b54992d1d702ae91cbac139d4c243251