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:
Erwan Gouriou 2020-04-29 08:57:51 +02:00 committed by Carles Cufí
parent eba6265ac3
commit 73a19d4d20
1 changed files with 1 additions and 1 deletions

View File

@ -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: