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

Skip to content
Commit afe3bc4b authored by Dov Levenglick's avatar Dov Levenglick
Browse files

usb: gadget: Free UL buffers in gbam_disconnect() for RMNET



On certain devices, the (device) OUT ep are connected sys2bam
vs. the IPA. Towards supporting this, buffers are allocated in
memory to pass from the USB to the IPA. When gbam_disconnect()
is called for the RMNET function, we need to free all the
RX buffers used for the UL path in order to avoid a memory leak.

Change-Id: Ia9ec11241ca90c62f9e38f4ba29830197a7f69af
Signed-off-by: default avatarDanny Segal <dsegal@codeaurora.org>
Signed-off-by: default avatarDov Levenglick <dovl@codeaurora.org>
parent 500bff85
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