drivers/bluetooth: stm32 ipm: Fix mutex on shared memory
ipm_busy is meant to be used as mutex on transport layer accesses. Due to wrong configuration on rx_thread, imp_busy was a no-op. Fix this. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
eba6265ac3
commit
73a19d4d20
|
@ -157,7 +157,7 @@ static void bt_ipm_rx_thread(void)
|
|||
|
||||
hcievt = k_fifo_get(&ipm_rx_events_fifo, K_FOREVER);
|
||||
|
||||
k_sem_take(&ipm_busy, K_NO_WAIT);
|
||||
k_sem_take(&ipm_busy, K_FOREVER);
|
||||
|
||||
switch (hcievt->evtserial.type) {
|
||||
case HCI_EVT:
|
||||
|
|
Loading…
Reference in New Issue