ANDROID: usb: gadget: f_accessory: Mitgate handling of non-existent USB request
authorLee Jones <lee.jones@linaro.org>
Thu, 25 Nov 2021 11:52:14 +0000 (11:52 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 25 Nov 2021 14:55:44 +0000 (14:55 +0000)
commit22de2e1bc2e6ebff2e6deeaebf26bfe4064ba920
tree5268dc869a49e3fb66953509850e3ec5c05334c2
parenta38bc98112ea61c3d0e86db7c3bc58f1bbf54dc2
ANDROID: usb: gadget: f_accessory: Mitgate handling of non-existent USB request

Prevents mishandling USB requests that are no longer present.

Bug: 161010552
Fixes: 483cb5629ea78 ("ANDROID: usb: gadget: f_accessory: Add Android Accessory function")
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: I8ff24d6d49214c3bd10a1b5d5e72814ec2a91c61
drivers/usb/gadget/function/f_accessory.c