Skip to content
Commit 08b9ca43 authored by Emil Gydesen's avatar Emil Gydesen Committed by Alberto Escolar
Browse files

samples: Bluetooth: central_iso: Remove K_FOREVER for buf alloc



Allocating a buffer in the system workqueue thread should never
be done wiht a K_FOREVER as that may block the thread forever.

Replace the K_FOREVER with a K_NO_WAIT and slightly modified
the function to handle this case.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 2e956c23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment