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

Commit a5aa7cca authored by Rupesh Tatiya's avatar Rupesh Tatiya Committed by Gerrit - the friendly Code Review server
Browse files

bluetooth: wait for during suspend URBs to finish on disconnect



URBs submitted during suspend are placed on deferred anchor and
scuttled on resume before submission. If disconnect/module unload
is called after resume, the callback function of such URBs can lead
to a page fault. Place such URBs on tx_anchor on resume.

clear HCI_RUNNING bit in disconnect so that no new URBs can be
submitted.

Change-Id: I2714ae397d96c73f80644159202dedda60fe0809
Signed-off-by: default avatarRupesh Tatiya <rtatiya@codeaurora.org>
parent e7c95927
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