Bluetooth: drivers: ipm_st32wb: Fix compilation

Issue faced while running bluetooth sample (peripheral, central, ...)

on stm32wb55rg with the latest zephyr version

Signed-off-by: Roger N'Guessan <roger.nguessan@st.com>
This commit is contained in:
Roger N'Guessan 2019-07-09 13:42:03 +02:00 committed by Johan Hedberg
commit 1c7eecb1ed

View file

@ -115,7 +115,7 @@ void TM_EvtReceivedCb(TL_EvtPacket_t *hcievt)
hcievt->evtserial.evt.evtcode);
goto out;
default:
buf = bt_buf_get_evt(evtserial.evt.evtcode, false,
buf = bt_buf_get_evt(hcievt->evtserial.evt.evtcode, false,
K_FOREVER);
break;
}