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

Skip to content
Commit 898b585a authored by Mayank Rana's avatar Mayank Rana
Browse files

USB: gadget: Fix port allocation issue on next USB cable connect



commit "457ac5b0 USB: gadget: Fix race condition to over come memory
corruption" fixed memory corruption issue with dynamic composition
switch for port structure. Although it misses handling of USB cable
disconnect/connect part and due to which USB composition having
RNDIS/ECM/MBIM composition is failing on USB cable disconnect/connect
case. This change accomodates both dynamic composition switch and
USB cable disconnect/connect usecases.

CRs-Fixed: 653163
Change-Id: I2880e6f534bbc7bdcd92692acf5c56397446401e
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 7ab1b9a7
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