Commit a6ccb733 authored by Benoit Goby's avatar Benoit Goby
Browse files

usb: gadget: Fix usb string id allocation



Don't reset next_string_id every time the gadget is enabled, this makes
the next strings allocated overwrite strings allocated at probe time.
Instead, fix rndis not to allocate new string ids on every config bind.

Change-Id: Ied28ee416bb6f00c434c34176fe5b7f0dcb2b2d4
Signed-off-by: default avatarBenoit Goby <benoit@android.com>
parent 87159de9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment