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

Skip to content
Commit ff014aaa authored by Hemant Kumar's avatar Hemant Kumar Committed by Gerrit - the friendly Code Review server
Browse files

usb: f_gsi: Set alt to 1 for rndis, rmnet and dpl unconditionally



Driver only sets alt to 1 if ep driver_data is NULL upon cable
connect for rndis, rmnet and dpl protocols. Since these protocols
only support single alt setting, there is no need to update alt
value based upon ep driver_data. It is possible for any protocol
to set driver_data upon connect and retain it upon disconnect. In
that case upon next connect data endpoints remain disabled.

Change-Id: I205b539be6625c9ca792d1731a4eeda5b48a2ccb
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 94da5973
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