Skip to content
Commit 4fe9e018 authored by Johan Hedberg's avatar Johan Hedberg Committed by Benjamin Cabé
Browse files

drivers: bluetooth: h4: Free RX buffer upon reset



There are cases where reset_rx() is called when rx.buf is set (e.g. when
the buffer was too small to receive the incoming packet). Be sure to free
the buffer, so that it wont get reused for the next packet (which might
require a buffer from a different pool).

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent f25fe598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment