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

Commit 0f8bb34e authored by Devdutt Patnaik's avatar Devdutt Patnaik
Browse files

usb: gadget: f_gsi: Fix alternate index returned by gsi_get_alt



RNDIS, RMNET and DPL only supports alternate index 0. Instead of
returning value of data_interface_up which is used for interfaces
supporting non-zero alternate index, simply return 0.

CRs-Fixed: 2032555
Change-Id: Id6588536f9f7e9221d4d896edec2276f7c11fb8f
Signed-off-by: default avatarDevdutt Patnaik <dpatnaik@codeaurora.org>
parent abaec6d4
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