mbox series

[0/2] Bluetooth: ISO: PA/BIG sync fixes

Message ID 20241108160723.3399-1-iulia.tanasescu@nxp.com
Headers show
Series Bluetooth: ISO: PA/BIG sync fixes | expand

Message

Iulia Tanasescu Nov. 8, 2024, 4:07 p.m. UTC
This adds a fix for the following BUG message, caused by alloc
inside critical section in create_pa_sync:

BUG: sleeping function called from invalid context at
include/linux/sched/mm.h:321

This also adds a fix for the LE BIG create sync command, which
is sent dirrectly via hci_send_cmd, instead of being submitted
to the cmd_sync_work, causing ordering issues with other
commands.

Iulia Tanasescu (2):
  Bluetooth: hci_conn: Remove alloc from critical section
  Bluetooth: ISO: Send BIG Create Sync via hci_sync

 net/bluetooth/hci_conn.c | 47 ++++++++++++++++++++++++----------------
 net/bluetooth/iso.c      |  4 ++++
 2 files changed, 32 insertions(+), 19 deletions(-)


base-commit: 2336a5b48954512198205ea38a73ca50c6714446