Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 35847690 authored by Rupesh Tatiya's avatar Rupesh Tatiya Committed by Gerrit - the friendly Code Review server
Browse files

bluetooth: wait for write_work to finish before freeing HCI device



There might be some write_works pending to HCI UART device
after HCI device is unregistered. Wait for these works to finish
before freeing HCI device as that structure is accessed inside
work callback function resulting use-after-free.

Change-Id: Iebd05328a7537b86b078d4dc85d1ba5d32978aaf
Signed-off-by: default avatarRupesh Tatiya <rtatiya@codeaurora.org>
parent 22436311
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment