Skip to content
Commit 103bdb43 authored by Andrzej Kaczmarek's avatar Andrzej Kaczmarek Committed by Anas Nashif
Browse files

Bluetooth: Controller: Simplify aux flush



aux->rx_last cannot be NULL since it's always set after acquire to a
valid node so the flow in flush() can be simplified.

rx parameter is only used to update PDU chain, then it's overwritten,
so we can instead update PDU chain in caller since there's only one
place when this should happen.

Signed-off-by: default avatarAndrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
parent ee0f93a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment