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

Commit 120c304a authored by Ghanim Fodi's avatar Ghanim Fodi Committed by Gerrit - the friendly Code Review server
Browse files

msm: rndis_ipa: continue rndis cleanup although header removal failed



On USB dynamic composition switch, rndis cleanup procedure is called.
Sporadically, it could be called from adb context while adbd
process is being killed. DMA memory allocation fails due to inappropriate
state of adbd process.

rndis cleanup allocates dma memory in order to remove rndis headers
to IPA core.
Consequently, cleanup will fail and usb tethering will remain turned on.

The solution is to proceed with the cleanup although the dma memory
allocation fails.

CRs-fixed: 764915
Change-Id: I0429fa5163368fc909134e3c3152aa5b90b08b4b
Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
parent 7e33f155
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