Skip to content
Snippets Groups Projects
Commit 6f992b5f authored by Mike Lockwood's avatar Mike Lockwood Committed by Dima Zavin
Browse files

USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL


Clearing strings on disconnect does not work since we may receive
a disconnect on some devices when transitioning into accessory mode.
We require an accessory to send ACCESSORY_GET_PROTOCOL before
sending any strings, so any strings from a previous session will be cleared.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 9cf8b580
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment