Skip to content
Commit ccc97125 authored by Ali Hozhabri's avatar Ali Hozhabri Committed by Carles Cufí
Browse files

drivers: bluetooth: hci: Fix uninitialized array index, issue #66806



Fix issue #66806, caused by PR #65172.

Return -EINVAL from bt_spi_get_header if op is neither SPI_READ nor
SPI_WRITE.

Signed-off-by: default avatarAli Hozhabri <ali.hozhabri@st.com>
parent 3d783166
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment