Skip to content
Commit 4c890186 authored by Alexander Wachter's avatar Alexander Wachter Committed by Ioannis Glaropoulos
Browse files

drivers: can: mcux: Fix can_detach



The detach function didn't call FLEXCAN_TransferAbortReceive.
The state of the mailbox after detaching was still kFLEXCAN_StateRxData
and therefore a new filter couldn't be attached.
This PR calls FLEXCAN_TransferAbortReceive and releases the mailbox.

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@student.tugraz.at>
parent 41c36b7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment