Loading
usb: gadget: gsi: Handle EVT_HOST_READY event in STATE_INITIALIZED state
'commit 5b42bd74 ("usb: gadget: gsi: Optimize TRB's buffer allocation functionality")' removed handling of EVT_HOST_READY event with state STATE_INITIALIZED to optimized USB GSI state machine. This handling is required for specifically when RNDIS interface is being enabled through device manager, otherwise RNDIS interface doesn't get private IP address back. Fix this issue by adding back handling of EVT_HOST_READY event with state STATE_INITIALIZED. CRs-Fixed: 1050838 Change-Id: I7010005b37b4709f54de58d52a56cb7f5e88bd08 Signed-off-by:Mayank Rana <mrana@codeaurora.org>